mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
SCI: Fix Macintosh kDrawPic mirror flag handling
Fixes the KQ6 Mac peppermint cave room
This commit is contained in:
parent
afd360703e
commit
aea7da4410
@ -563,8 +563,13 @@ reg_t kDrawPic(EngineState *s, int argc, reg_t *argv) {
|
||||
if (flags & K_DRAWPIC_FLAGS_ANIMATIONBLACKOUT)
|
||||
animationBlackoutFlag = true;
|
||||
animationNr = flags & 0xFF;
|
||||
if (flags & K_DRAWPIC_FLAGS_MIRRORED)
|
||||
mirroredFlag = true;
|
||||
// Mac interpreters ignored the mirrored flag and didn't mirror pics.
|
||||
// KQ6 PC room 390 drew pic 390 mirrored so Mac added pic 395, which
|
||||
// is a mirror of 390, but the script continued to pass this flag.
|
||||
if (g_sci->getPlatform() != Common::kPlatformMacintosh) {
|
||||
if (flags & K_DRAWPIC_FLAGS_MIRRORED)
|
||||
mirroredFlag = true;
|
||||
}
|
||||
}
|
||||
if (argc >= 3) {
|
||||
if (!argv[2].isNull())
|
||||
|
Loading…
x
Reference in New Issue
Block a user