[Scummvm-git-logs] scummvm master -> 53f67f9671af25d7bba461e19633d8c3087655c7
eriktorbjorn
noreply at scummvm.org
Tue Jun 10 19:53:16 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
53f67f9671 SCUMM: Use correct save slot when loading during a SMUSH video
Commit: 53f67f9671af25d7bba461e19633d8c3087655c7
https://github.com/scummvm/scummvm/commit/53f67f9671af25d7bba461e19633d8c3087655c7
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-06-10T21:51:45+02:00
Commit Message:
SCUMM: Use correct save slot when loading during a SMUSH video
This only affected the original load dialogs.
Changed paths:
engines/scumm/gfx_gui.cpp
diff --git a/engines/scumm/gfx_gui.cpp b/engines/scumm/gfx_gui.cpp
index 7b9e01c4aa0..739ffa5a211 100644
--- a/engines/scumm/gfx_gui.cpp
+++ b/engines/scumm/gfx_gui.cpp
@@ -1325,7 +1325,7 @@ void ScummEngine_v7::toggleVoiceMode() {
void ScummEngine_v7::handleLoadDuringSmush() {
// Notify the SMUSH player that we want to load a game...
_saveLoadFlag = 2;
- _saveLoadSlot = _mainMenuSavegameLabel - 1 + _curDisplayedSaveSlotPage * 9;
+ _saveLoadSlot = _mainMenuSavegameLabel + _curDisplayedSaveSlotPage * 9;
// Force screen to black to avoid glitches...
VirtScreen *vs = &_virtscr[kMainVirtScreen];
More information about the Scummvm-git-logs
mailing list