* Port to MinGW
This commit is contained in:
1 parent
50eb77ed1a
commit
fcaf343d7f
28 files changed
+347
-64
No files matched your search
@@ -135,7 +135,7 @@ qboolean SNDDMA_Init(void) {
|
||||
#undef DEFINE_GUID
|
||||
|
||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
EXTERN_C const GUID name \
|
||||
const GUID name \
|
||||
= { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
|
||||
// DirectSound Component GUID {47D4D946-62E8-11CF-93BC-444553540000}
|
||||
@@ -331,8 +331,8 @@ void SNDDMA_BeginPainting( void ) {
|
||||
reps = 0;
|
||||
dma.buffer = NULL;
|
||||
|
||||
while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &locksize,
|
||||
&pbuf2, &dwSize2, 0)) != DS_OK)
|
||||
while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, (LPVOID)&pbuf, &locksize,
|
||||
(LPVOID)&pbuf2, &dwSize2, 0)) != DS_OK)
|
||||
{
|
||||
if (hresult != DSERR_BUFFERLOST)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user