DEVTOOLS: Fix bug in create_teenagent message string table output.

Second block size calculation was incorrect.
This commit is contained in:
D G Turner 2012-07-25 00:39:40 +01:00
parent 77a630d3e1
commit ed6590c7c8

View File

@ -143,7 +143,7 @@ int main(int argc, char *argv[]) {
uint dsegFinalSize = 0xe790;
printf("const static uint8 dsegFinalBlock[%d] = {\n", dsegFinalSize - dsegMessageSize - dsegFBSize);
printf("const static uint8 dsegFinalBlock[%d] = {\n", dsegFinalSize - dsegMessageSize);
uint j = 0;
for (uint i = dsegMessageSize; i < dsegFinalSize; i++, j++) {
if ((j % 8) == 0)