[Scummvm-git-logs] scummvm master -> 882691dd50e5fcdcd568f598e6b76a91a286ce7e

AndywinXp noreply at scummvm.org
Tue Nov 28 07:53:09 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:
882691dd50 SCUMM: MACGUI: Skip autosave slot when selecting target save slot


Commit: 882691dd50e5fcdcd568f598e6b76a91a286ce7e
    https://github.com/scummvm/scummvm/commit/882691dd50e5fcdcd568f598e6b76a91a286ce7e
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-11-28T08:53:02+01:00

Commit Message:
SCUMM: MACGUI: Skip autosave slot when selecting target save slot

Changed paths:
    engines/scumm/gfx_mac.cpp


diff --git a/engines/scumm/gfx_mac.cpp b/engines/scumm/gfx_mac.cpp
index de941be9f13..2134ee4ddf0 100644
--- a/engines/scumm/gfx_mac.cpp
+++ b/engines/scumm/gfx_mac.cpp
@@ -3789,7 +3789,7 @@ bool MacLoomGui::runSaveDialog(int &saveSlotToHandle, Common::String &name) {
 	prepareSaveLoad(savegameNames, busySlots, slotIds, ARRAYSIZE(busySlots));
 
 	int firstAvailableSlot = -1;
-	for (int i = 0; i < ARRAYSIZE(busySlots); i++) {
+	for (int i = 1; i < ARRAYSIZE(busySlots); i++) { // Skip the autosave slot
 		if (!busySlots[i]) {
 			firstAvailableSlot = i;
 			break;




More information about the Scummvm-git-logs mailing list