mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
SCUMM: DIG: Fix CTRL-B easter egg not working
This fixes #15064. The CTRL-B combination was used in COMI to regulate the buffer count for iMUSE, so I originally decided to extend it to SCUMM v7 games. Unfortunately DIG uses this combination for an easter egg, so the iMUSE buffer function is now available through SHIFT-B for this game.
This commit is contained in:
parent
094865344e
commit
e18e0a4da1
@ -547,7 +547,7 @@ 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) || lastKeyHit.hasFlags(Common::KBD_SHIFT))) {
|
||||
((lastKeyHit.hasFlags(Common::KBD_CTRL) && _game.id != GID_DIG) || lastKeyHit.hasFlags(Common::KBD_SHIFT))) {
|
||||
int curBufferCount = _imuseDigital->roundRobinSetBufferCount();
|
||||
// "iMuse buffer count changed to %d"
|
||||
showBannerAndPause(0, 90, getGUIString(gsIMuseBuffer), curBufferCount);
|
||||
|
Loading…
Reference in New Issue
Block a user