mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-04 10:30:34 +00:00
Fixed SoundCore.cpp's call to GetCaps()
This commit is contained in:
parent
9e547c9d30
commit
24f389072a
@ -517,17 +517,15 @@ bool DSInit()
|
||||
return false;
|
||||
}
|
||||
|
||||
#if 0
|
||||
DSCAPS DSCaps;
|
||||
ZeroMemory(&DSCaps, sizeof(DSBCAPS));
|
||||
DSCaps.dwSize = sizeof(DSBCAPS);
|
||||
ZeroMemory(&DSCaps, sizeof(DSCAPS));
|
||||
DSCaps.dwSize = sizeof(DSCAPS);
|
||||
hr = g_lpDS->GetCaps(&DSCaps);
|
||||
if(FAILED(hr))
|
||||
{
|
||||
DirectSound_ErrorText(hr);
|
||||
return false;
|
||||
if(g_fh) fprintf(g_fh, "GetCaps failed (%08X)\n",hr);
|
||||
// Not fatal: so continue...
|
||||
}
|
||||
#endif
|
||||
|
||||
g_bDSAvailable = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user