mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
SCUMM: Fix missing cursor in Mac Indy 3 and Loom after loading
This was a regression that was apparently introduced when the animation flag was cleared for the Mac cursor. The animation made the cursor show up when loading older save games, but not new ones. That's why it went unnoticed until now.
This commit is contained in:
parent
6d4730ceaf
commit
db1fd7ddbb
@ -1578,6 +1578,15 @@ void ScummEngine_v5::saveLoadWithSerializer(Common::Serializer &s) {
|
||||
}
|
||||
}
|
||||
|
||||
// Reset Mac cursors for Loom and Indy 3, otherwise the cursor will be
|
||||
// invisible after loading.
|
||||
|
||||
if (s.isLoading() && _game.platform == Common::kPlatformMacintosh) {
|
||||
if ((_game.id == GID_LOOM && !_macCursorFile.empty()) || (_game.id == GID_INDY3 && _macScreen)) {
|
||||
setBuiltinCursor(0);
|
||||
}
|
||||
}
|
||||
|
||||
// Regenerate 16bit palette after loading.
|
||||
// This avoids color issues when loading savegames that have been saved with a different ScummVM port
|
||||
// that uses a different 16bit color mode than the ScummVM port which is currently used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user