From 4f39859c49d0d5a5a47641392e020df913a700b1 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Thu, 3 Nov 2022 21:42:14 -0230 Subject: [PATCH] Stop WAV playing when exiting a KidVid ROM and starting a non-KidVid one. --- src/emucore/Console.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index c19d20bdb..dfc8c10e1 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -132,6 +132,7 @@ Console::Console(OSystem& osystem, unique_ptr& cart, mySwitches = make_unique(myEvent, myProperties, myOSystem.settings()); myTIA->setFrameManager(myFrameManager.get()); + myOSystem.sound().stopWav(); // Reinitialize the RNG myOSystem.random().initSeed(static_cast(TimerManager::getTicks()));