diff options
-rw-r--r-- | simon/simon.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 506cff8eb9..04bd9b8c10 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4342,6 +4342,13 @@ byte *SimonEngine::read_vga_from_datfile_2(uint id) { uint32 size = _game_offsets_ptr[id + 1] - offs_a; byte *dst; + // !!! HACK !!! + // allocate more space for text to cope with foreign languages that use + // up more space than english. I hope 6400 bytes are enough. This number + // is base on: 2 (lines) * 320 (screen width) * 10 (textheight) -- olki + if (id == 5) + size += 6400; + dst = setup_vga_destination(size); resfile_read(dst, offs_a, size); |