mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 10:41:16 +00:00
isle main: Matched startDirectSound to Original
This commit is contained in:
parent
689a38fcfc
commit
9580402ab5
@ -19,7 +19,7 @@ BOOL findExistingInstance(void)
|
||||
|
||||
BOOL startDirectSound(void)
|
||||
{
|
||||
LPDIRECTSOUND lpDS;
|
||||
LPDIRECTSOUND lpDS = 0;
|
||||
HRESULT ret = DirectSoundCreate(NULL, &lpDS, NULL);
|
||||
if (ret == DS_OK && lpDS != NULL) {
|
||||
lpDS->Release();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user