[Scummvm-git-logs] scummvm master -> 5d93a675b16f50004b7734c37ce00e8e17d4ae45

dreammaster noreply at scummvm.org
Fri Feb 23 06:07:41 UTC 2024


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:
5d93a675b1 M4: Fix opening save/load dialogs from original options dialog


Commit: 5d93a675b16f50004b7734c37ce00e8e17d4ae45
    https://github.com/scummvm/scummvm/commit/5d93a675b16f50004b7734c37ce00e8e17d4ae45
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-02-22T22:07:34-08:00

Commit Message:
M4: Fix opening save/load dialogs from original options dialog

Changed paths:
    engines/m4/burger/gui/game_menu.cpp


diff --git a/engines/m4/burger/gui/game_menu.cpp b/engines/m4/burger/gui/game_menu.cpp
index f363b1d56ba..05a0f99b242 100644
--- a/engines/m4/burger/gui/game_menu.cpp
+++ b/engines/m4/burger/gui/game_menu.cpp
@@ -2631,22 +2631,18 @@ void cb_Game_Resume(void *, void *) {
 void cb_Game_Save(void *, void *) {
 	// Destroy the game menu
 	DestroyGameMenu();
+	menu_Shutdown(true);
 
 	// Create the save game menu
-//	CreateSaveMenu(nullptr);
-	if (!g_engine->useOriginalSaveLoad())
-		menu_Shutdown(true);
 	g_engine->showSaveScreen();
 }
 
 void cb_Game_Load(void *, void *) {
 	// Destroy the game menu
 	DestroyGameMenu();
+	menu_Shutdown(true);
 
 	// Create the save game menu
-//	CreateLoadMenu(nullptr);
-	if (!g_engine->useOriginalSaveLoad())
-		menu_Shutdown(true);
 	g_engine->showLoadScreen();
 }
 




More information about the Scummvm-git-logs mailing list