mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
KYRA: (EOB/FM-Towns) - fix regression
("Unknown key" error)
This commit is contained in:
parent
3eef43cd06
commit
0060d8dca4
@ -133,11 +133,10 @@ void SJISFont12x12::unload() {
|
||||
}
|
||||
|
||||
void SJISFont12x12::drawChar(uint16 c, byte *dst, int pitch, int) const {
|
||||
int offs = _searchTable[c];
|
||||
if (!offs)
|
||||
if (!_searchTable.contains(c))
|
||||
return;
|
||||
|
||||
const uint8 *src = _data + (offs - 1) * 24;
|
||||
const uint8 *src = _data + (_searchTable[c] - 1) * 24;
|
||||
uint8 color1 = _colorMap[1];
|
||||
|
||||
int bt = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user