From 14b1122641f21ebe13145e404124aea5331851e9 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 10 Jan 2010 07:41:14 +0000 Subject: [PATCH] win32: apply patch [2925555] to stop emu from crashing when no sound device is available --- desmume/src/windows/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 3e3d7e675..aa65d1782 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -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);