win32: apply patch [2925555] to stop emu from crashing when no sound device is available
This commit is contained in:
parent
685e8ef91e
commit
14b1122641
|
@ -2611,7 +2611,7 @@ int _main()
|
|||
if(spu_ret != 0)
|
||||
{
|
||||
MessageBox(MainWindow->getHWnd(),"Unable to initialize DirectSound","Error",MB_OK);
|
||||
return -1;
|
||||
sndcoretype = 0;
|
||||
}
|
||||
|
||||
sndvolume = GetPrivateProfileInt("Sound","Volume",100, IniName);
|
||||
|
|
Loading…
Reference in New Issue