Skip to content

Commit

Permalink
DEVTOOLS: Fix bug in create_teenagent message string table output.
Browse files Browse the repository at this point in the history
Second block size calculation was incorrect.
  • Loading branch information
digitall committed Jul 24, 2012
1 parent 77a630d commit ed6590c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/create_teenagent/create_teenagent.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit ed6590c

Please sign in to comment.