mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
fixed NUT text render when screen is scrolled
svn-id: r6297
This commit is contained in:
parent
f7d6c89ffc
commit
561b2c9d7c
@ -198,7 +198,7 @@ void NutRenderer::drawChar(char c, int32 x, int32 y, byte color) {
|
||||
}
|
||||
|
||||
byte * src = (byte*)(_dataSrc + _offsets[c] + 14);
|
||||
byte * dst = _vm->virtscr[0].screenPtr + y * _vm->_realWidth + x;
|
||||
byte * dst = _vm->virtscr[0].screenPtr + y * _vm->_realWidth + x + _vm->virtscr[0].xstart;
|
||||
uint32 length = READ_BE_UINT32(_dataSrc + _offsets[c] - 4) - 14;
|
||||
|
||||
decodeCodec44(_tmpCodecBuffer, src, length);
|
||||
|
Loading…
Reference in New Issue
Block a user