fix occasional crash or corruption when starting up the audio synchronizer
This commit is contained in:
parent
d7d3e9f21b
commit
f0a986eeef
|
@ -2467,7 +2467,10 @@ int _main()
|
|||
|
||||
snd_synchmode = GetPrivateProfileInt("Sound","SynchMode",0,IniName);
|
||||
snd_synchmethod = GetPrivateProfileInt("Sound","SynchMethod",0,IniName);
|
||||
SPU_SetSynchMode(snd_synchmode,snd_synchmethod);
|
||||
{
|
||||
Lock lock;
|
||||
SPU_SetSynchMode(snd_synchmode,snd_synchmethod);
|
||||
}
|
||||
|
||||
CommonSettings.DebugConsole = GetPrivateProfileBool("Emulation", "DebugConsole", FALSE, IniName);
|
||||
CommonSettings.UseExtBIOS = GetPrivateProfileBool("BIOS", "UseExtBIOS", FALSE, IniName);
|
||||
|
|
Loading…
Reference in New Issue