mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
ACCESS: Handle differences in CD vs Floppy establishment text offsets
This commit is contained in:
parent
362c99797c
commit
bd3f64a8cf
@ -617,7 +617,12 @@ void AmazonEngine::startChapter(int chapter) {
|
||||
|
||||
_establishGroup = 1;
|
||||
loadEstablish(0x40 + _chapter);
|
||||
uint16 msgOffset = READ_LE_UINT16(_establish->data() + ((0x40 + _chapter) * 2));
|
||||
|
||||
byte *entryOffset = _establish->data() + ((0x40 + _chapter) * 2);
|
||||
if (isCD())
|
||||
entryOffset += 2;
|
||||
|
||||
uint16 msgOffset = READ_LE_UINT16(entryOffset);
|
||||
_printEnd = 170;
|
||||
|
||||
Common::String msg((const char *)_establish->data() + msgOffset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user