[Scummvm-git-logs] scummvm master -> 8195669668d03f30b80504c124ce422de37a268f

hax0kartik noreply at scummvm.org
Thu Sep 7 07:39:50 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:
8195669668 CRAB: Move flushing configuration options to disk to a better place.


Commit: 8195669668d03f30b80504c124ce422de37a268f
    https://github.com/scummvm/scummvm/commit/8195669668d03f30b80504c124ce422de37a268f
Author: Kartik Agarwala (agarwala.kartik at gmail.com)
Date: 2023-09-07T13:09:20+05:30

Commit Message:
CRAB: Move flushing configuration options to disk to a better place.

Changed paths:
    engines/crab/input/input.cpp
    engines/crab/ui/OptionMenu.cpp


diff --git a/engines/crab/input/input.cpp b/engines/crab/input/input.cpp
index 22441c99ced..259fb254ba3 100644
--- a/engines/crab/input/input.cpp
+++ b/engines/crab/input/input.cpp
@@ -306,8 +306,6 @@ void InputManager::save() {
 
 		keymap->saveMappings();
 	}
-
-	ConfMan.flushToDisk();
 }
 
 } // End of namespace Crab
diff --git a/engines/crab/ui/OptionMenu.cpp b/engines/crab/ui/OptionMenu.cpp
index 8d931192b4b..0799fc4d33b 100644
--- a/engines/crab/ui/OptionMenu.cpp
+++ b/engines/crab/ui/OptionMenu.cpp
@@ -418,7 +418,7 @@ void OptionMenu::internalEvents() {
 }
 
 void OptionMenu::saveState() {
-	warning("STUB: OptionMenu::saveState()");
+	ConfMan.flushToDisk();
 
 #if 0
 	rapidxml::xml_document<char> doc;




More information about the Scummvm-git-logs mailing list