- Opps missed out one SDL vs DirectX sound api issue
This commit is contained in:
parent
7cf7fa62d9
commit
1380659c61
|
@ -263,7 +263,12 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
#endif
|
||||
|
||||
NDS_Init();
|
||||
|
||||
#ifdef USE_SDL_AUDIO
|
||||
if (SPU_ChangeSoundCore(SNDCORE_SDL, 735 * 4) != 0)
|
||||
#else
|
||||
if (SPU_ChangeSoundCore(SNDCORE_DIRECTX, 735 * 4) != 0)
|
||||
#endif
|
||||
{
|
||||
MessageBox(hwnd,"Unable to initialize DirectSound","Error",MB_OK);
|
||||
return messages.wParam;
|
||||
|
|
Loading…
Reference in New Issue