Mute audio while autodetection runs.

This commit is contained in:
Christian Speckner 2017-11-26 23:10:43 +01:00
parent 37ebd83534
commit 1c10f55bb0
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ Console::Console(OSystem& osystem, unique_ptr<Cartridge>& cart,
const string& md5 = myProperties.get(Cartridge_MD5); const string& md5 = myProperties.get(Cartridge_MD5);
setControllers(md5); setControllers(md5);
// Mute audio while autodetection runs
myOSystem.sound().mute(1);
if(myDisplayFormat == "AUTO" || myOSystem.settings().getBool("rominfo")) if(myDisplayFormat == "AUTO" || myOSystem.settings().getBool("rominfo"))
{ {
autodetectFrameLayout(); autodetectFrameLayout();