aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/graphics/screen_eob.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/graphics/screen_eob.cpp b/engines/kyra/graphics/screen_eob.cpp
index 8b1a514e39..1a748bbedf 100644
--- a/engines/kyra/graphics/screen_eob.cpp
+++ b/engines/kyra/graphics/screen_eob.cpp
@@ -2586,6 +2586,7 @@ uint16 SJISFontEoB1PC98::convert(uint16 c) const {
uint8 h = c >> 8;
if (c < 128) {
+ assert(l > 31);
c = _convTable2[l - 32];
} else if (l > 160 && l < 225) {
bool done = false;