diff options
author | Strangerke | 2013-07-29 07:27:31 +0200 |
---|---|---|
committer | Strangerke | 2013-07-29 07:27:31 +0200 |
commit | c7277df1ed0a11c62971a859f101852083debd57 (patch) | |
tree | 1b9c4b01d3a98a11e8bb093b0d2db0634546eeaf /devtools/create_mortdat | |
parent | b50f0e2a0d657c64dedb5800912b9e6558e0529d (diff) | |
download | scummvm-rg350-c7277df1ed0a11c62971a859f101852083debd57.tar.gz scummvm-rg350-c7277df1ed0a11c62971a859f101852083debd57.tar.bz2 scummvm-rg350-c7277df1ed0a11c62971a859f101852083debd57.zip |
DEVTOOLS: Add support to another DOS executable for Mortevielle
Diffstat (limited to 'devtools/create_mortdat')
-rw-r--r-- | devtools/create_mortdat/create_mortdat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/create_mortdat/create_mortdat.cpp b/devtools/create_mortdat/create_mortdat.cpp index cb7d6aa189..653a0754eb 100644 --- a/devtools/create_mortdat/create_mortdat.cpp +++ b/devtools/create_mortdat/create_mortdat.cpp @@ -119,13 +119,13 @@ void openOutputFile(const char *outFilename) { * Write out the data for the font */ void writeFontBlock() { - const int knownAddr[2] = {0x36b0, 0x36c0}; + const int knownAddr[3] = {0x30cd, 0x36b0, 0x36c0}; byte checkBuffer[7]; byte fontBuffer[121 * 6]; // Move to just prior the font data and verify that we're reading the known mort.com - for (int i = 0; i <= 2; ++i) { - if ( i == 2) { + for (int i = 0; i <= 3; ++i) { + if ( i == 3) { printf("Invalid mort.com input file"); exit(0); } |