From 2027882c7791232396b99b7a5cb687a1f4606d1a Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Fri, 9 Sep 2022 14:09:46 +0200 Subject: [PATCH] added mute all songs option for Kid Vid --- docs/index.html | 42 ++++++++++++++++++++++++++---------------- src/emucore/KidVid.cxx | 3 ++- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/docs/index.html b/docs/index.html index 677851a23..daab10049 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1049,25 +1049,35 @@
-

Kid Vid Voice Module (can be remapped via Keyboard Controller)

+

Kid Vid Voice Module (can be remapped via Keyboard Controller and Console Controls)

- - - - - + - + + + + + + + + + + + + + + + + + + + + +
Function Key
Start game #18 (same as Right Pad Button '1')
Start game #29 (same as Right Pad Button '2')
Start game #30 (same as Right Pad Button '3')
Skip current song
- (except initial songs of Berenstain Bears and Harmony Smurf) -
P (same as Right Pad Button '6')
Function Key Difficulty Switches ¹
- The games can also be started with the 'Select Game' key. The - settings of the difficulty switches
determine which game is started. -
    -
  • Left = B, Right = B: Start game #1
  • -
  • Left = A, Right = B: Start game #2
  • -
  • Left = B, Right = A: Start game #3
  • -
Start game #18 (Right Pad Button '1')F6 (Left = A), F8 (Right = B)
Start game #29 (Right Pad Button '2')F5 (Left = B), F8 (Right = A)
Start game #30 (Right Pad Button '3')F6 (Left = B), F7 (Right = B)
Skip current song (except initial songs of
+ Berenstain Bears and Harmony Smurf) ²
P (Right Pad Button '6'),
+ F1 ('Select Game')
-
¹ Press F1 ('Select Game') to start the selected game. + ² F4 ('Black/White TV') skip all allowed songs.
diff --git a/src/emucore/KidVid.cxx b/src/emucore/KidVid.cxx index a8849df15..02141b2e0 100644 --- a/src/emucore/KidVid.cxx +++ b/src/emucore/KidVid.cxx @@ -81,7 +81,8 @@ void KidVid::update() myFilesFound = mySongPlaying = false; myOSystem.sound().stopWav(); } - else if(myEvent.get(Event::RightKeyboard6)) + else if(myEvent.get(Event::RightKeyboard6) || myEvent.get(Event::ConsoleSelect) || + (myOSystem.hasConsole() && !myOSystem.console().switches().tvColor())) { // Some first songs trigger a sequence of timed actions, they cannot be skipped if(mySongPointer &&