[Scummvm-git-logs] scummvm branch-2-6 -> 88e6a58120ffd5a27ab850a317586642e0689944

athrxx noreply at scummvm.org
Mon Jun 13 19:44:13 UTC 2022


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:
88e6a58120 KYRA: (LOL) - improve save/load menu performance


Commit: 88e6a58120ffd5a27ab850a317586642e0689944
    https://github.com/scummvm/scummvm/commit/88e6a58120ffd5a27ab850a317586642e0689944
Author: athrxx (athrxx at scummvm.org)
Date: 2022-06-13T21:43:59+02:00

Commit Message:
KYRA: (LOL) - improve save/load menu performance

(reduce calls to updateScreen)

Changed paths:
    engines/kyra/gui/gui_lol.cpp
    engines/kyra/gui/gui_v1.cpp


diff --git a/engines/kyra/gui/gui_lol.cpp b/engines/kyra/gui/gui_lol.cpp
index 4e61970638d..1288ecab19d 100644
--- a/engines/kyra/gui/gui_lol.cpp
+++ b/engines/kyra/gui/gui_lol.cpp
@@ -1939,8 +1939,6 @@ void GUI_LoL::processButton(Button *button) {
 	default:
 		break;
 	}
-
-	_screen->updateScreen();
 }
 
 int GUI_LoL::processButtonList(Button *buttonList, uint16 inputFlag, int8 mouseWheel) {
diff --git a/engines/kyra/gui/gui_v1.cpp b/engines/kyra/gui/gui_v1.cpp
index cb581f2380c..e7dc93c0be0 100644
--- a/engines/kyra/gui/gui_v1.cpp
+++ b/engines/kyra/gui/gui_v1.cpp
@@ -306,7 +306,6 @@ void GUI_v1::updateMenuButton(Button *button) {
 		return;
 
 	updateButton(button);
-	_screen->updateScreen();
 }
 
 void GUI_v1::updateButton(Button *button) {




More information about the Scummvm-git-logs mailing list