From 5bf46c94abe866e4b97f084417e146c6db538e66 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Tue, 19 Jun 2001 14:55:56 +0000 Subject: [PATCH] Code cleanup --- zsnes/src/win/winlink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index f4da35b5..7aeb6c1d 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -681,7 +681,7 @@ InitSound() dsbd.dwFlags = DSBCAPS_STICKYFOCUS; // | DSBCAPS_PRIMARYBUFFER; dsbd.dwBufferBytes = SoundBufferSize; dsbd.lpwfxFormat = &wfx; - + if (DS_OK == lpDirectSound->CreateSoundBuffer(&dsbd, &lpPrimaryBuffer, NULL)) { if (DS_OK == lpPrimaryBuffer->QueryInterface(IID_IDirectSoundBuffer8, (LPVOID *) &lpSoundBuffer)) @@ -689,7 +689,7 @@ InitSound() if (DS_OK != lpSoundBuffer->Play(0,0,DSBPLAY_LOOPING)) { SoundEnabled=0; return FALSE; - } + } FirstSound=0; return TRUE; }