[Scummvm-git-logs] scummvm master -> bc531b373847436f0e4251b8a510e1307f94e445

AndywinXp noreply at scummvm.org
Tue Dec 27 14:37:35 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:
bc531b3738 SCUMM: GUI: Allow SHIFT-B to be also used for the buffer shortcut


Commit: bc531b373847436f0e4251b8a510e1307f94e445
    https://github.com/scummvm/scummvm/commit/bc531b373847436f0e4251b8a510e1307f94e445
Author: AndywinXp (andywinxp at gmail.com)
Date: 2022-12-27T15:37:30+01:00

Commit Message:
SCUMM: GUI: Allow SHIFT-B to be also used for the buffer shortcut

Changed paths:
    engines/scumm/input.cpp


diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 2f6a10c85ae..13794298a1f 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -492,7 +492,8 @@ void ScummEngine_v8::processKeyboard(Common::KeyState lastKeyHit) {
 
 void ScummEngine_v7::processKeyboard(Common::KeyState lastKeyHit) {
 	if (isUsingOriginalGUI()) {
-		if (lastKeyHit.keycode == Common::KEYCODE_b && lastKeyHit.hasFlags(Common::KBD_CTRL)) {
+		if (lastKeyHit.keycode == Common::KEYCODE_b &&
+			(lastKeyHit.hasFlags(Common::KBD_CTRL) || lastKeyHit.hasFlags(Common::KBD_SHIFT))) {
 			int curBufferCount = _imuseDigital->roundRobinSetBufferCount();
 			// "iMuse buffer count changed to %d"
 			showBannerAndPause(0, 90, getGUIString(gsIMuseBuffer), curBufferCount);




More information about the Scummvm-git-logs mailing list