[Scummvm-git-logs] scummvm branch-2-9 -> fdcbc279765e432cbabf19264273f4a87f61fc11
eriktorbjorn
noreply at scummvm.org
Tue Jun 10 19:54:04 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:
fdcbc27976 SCUMM: Use correct save slot when loading during a SMUSH video
Commit: fdcbc279765e432cbabf19264273f4a87f61fc11
https://github.com/scummvm/scummvm/commit/fdcbc279765e432cbabf19264273f4a87f61fc11
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-06-10T21:53:57+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 d5fbd0d22c3..8677d655912 100644
--- a/engines/scumm/gfx_gui.cpp
+++ b/engines/scumm/gfx_gui.cpp
@@ -1321,7 +1321,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