[Scummvm-git-logs] scummvm master -> d9d4c278e1d7ac8389d598f6948ef081d127f68b
AndywinXp
noreply at scummvm.org
Thu Nov 30 22:09:40 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d9d4c278e1 SCUMM: Attempt at fixing blocker #14614
Commit: d9d4c278e1d7ac8389d598f6948ef081d127f68b
https://github.com/scummvm/scummvm/commit/d9d4c278e1d7ac8389d598f6948ef081d127f68b
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-11-30T23:09:35+01:00
Commit Message:
SCUMM: Attempt at fixing blocker #14614
We limit this piece of code to the one and only game having a
PC Engine port, which is Loom.
Changed paths:
engines/scumm/saveload.cpp
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index c316975cc48..55bde2e202d 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -2085,7 +2085,7 @@ void ScummEngine_v5::saveLoadWithSerializer(Common::Serializer &s) {
// 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.
#ifdef USE_RGB_COLOR
- if (_game.platform == Common::kPlatformPCEngine && s.isLoading()) {
+ if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine && s.isLoading()) {
for (int i = 0; i < 256; ++i)
_16BitPalette[i] = get16BitColor(_currentPalette[i * 3 + 0], _currentPalette[i * 3 + 1], _currentPalette[i * 3 + 2]);
}
More information about the Scummvm-git-logs
mailing list