aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_teenagent
diff options
context:
space:
mode:
authorD G Turner2012-07-25 00:39:40 +0100
committerD G Turner2012-07-25 00:39:40 +0100
commited6590c7c8ec19ea75dcc2628e47ff86fc0a2959 (patch)
tree39e5b4f8e32225553d70a219780ec6c9c7d4f2f3 /devtools/create_teenagent
parent77a630d3e1911cc5162a65203a52fe0e6a4b7d7a (diff)
downloadscummvm-rg350-ed6590c7c8ec19ea75dcc2628e47ff86fc0a2959.tar.gz
scummvm-rg350-ed6590c7c8ec19ea75dcc2628e47ff86fc0a2959.tar.bz2
scummvm-rg350-ed6590c7c8ec19ea75dcc2628e47ff86fc0a2959.zip
DEVTOOLS: Fix bug in create_teenagent message string table output.
Second block size calculation was incorrect.
Diffstat (limited to 'devtools/create_teenagent')
-rw-r--r--devtools/create_teenagent/create_teenagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/create_teenagent/create_teenagent.cpp b/devtools/create_teenagent/create_teenagent.cpp
index f205af81fb..ade61ff208 100644
--- a/devtools/create_teenagent/create_teenagent.cpp
+++ b/devtools/create_teenagent/create_teenagent.cpp
@@ -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)