diff options
author | athrxx | 2019-12-22 16:03:26 +0100 |
---|---|---|
committer | athrxx | 2019-12-22 19:15:33 +0100 |
commit | a9e07c314fb05342c23ac2de21c20449f0709f1e (patch) | |
tree | 100d4926eacb71b1681f216d38b844b4a8ed0da2 | |
parent | a48591ae0d83c1603e518a076449b99877904177 (diff) | |
download | scummvm-rg350-a9e07c314fb05342c23ac2de21c20449f0709f1e.tar.gz scummvm-rg350-a9e07c314fb05342c23ac2de21c20449f0709f1e.tar.bz2 scummvm-rg350-a9e07c314fb05342c23ac2de21c20449f0709f1e.zip |
KYRA: (EOB/PC98) - add paranoia assert
-rw-r--r-- | engines/kyra/graphics/screen_eob.cpp | 1 |
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; |