mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
isle main: Matched startDirectSound to Original
This commit is contained in:
parent
689a38fcfc
commit
9580402ab5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue