win32: apply patch [2925555] to stop emu from crashing when no sound device is available

This commit is contained in:
zeromus 2010-01-10 07:41:14 +00:00
parent 685e8ef91e
commit 14b1122641
1 changed files with 1 additions and 1 deletions

View File

@ -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);