aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/charset.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/simon/charset.cpp b/engines/simon/charset.cpp
index f0b5cfa040..6f7b8e1c7e 100644
--- a/engines/simon/charset.cpp
+++ b/engines/simon/charset.cpp
@@ -211,7 +211,8 @@ void SimonEngine::renderString(uint vga_sprite_id, uint color, uint width, uint
// after this one. By default, each buffer is only 9000 bytes
// long. A two-line string can very well be more than twice
// that size!
- WRITE_LE_UINT16(p + 8, READ_LE_UINT32(p) + width * height);
+ if (vga_sprite_id != 1)
+ WRITE_LE_UINT16(p + 8, READ_LE_UINT32(p) + width * height);
} else {
WRITE_BE_UINT16(p + 4, height);
WRITE_BE_UINT16(p + 6, width);