isle main: Matched startDirectSound to Original

This commit is contained in:
Moss Gallagher 2023-06-11 02:00:57 -07:00
parent 689a38fcfc
commit 9580402ab5

View file

@ -19,7 +19,7 @@ BOOL findExistingInstance(void)
BOOL startDirectSound(void) BOOL startDirectSound(void)
{ {
LPDIRECTSOUND lpDS; LPDIRECTSOUND lpDS = 0;
HRESULT ret = DirectSoundCreate(NULL, &lpDS, NULL); HRESULT ret = DirectSoundCreate(NULL, &lpDS, NULL);
if (ret == DS_OK && lpDS != NULL) { if (ret == DS_OK && lpDS != NULL) {
lpDS->Release(); lpDS->Release();