From 1130fb4df55076808471a40f132498c8d28aef7a Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Tue, 8 Feb 2005 23:48:23 +0000 Subject: [PATCH] Fixed Win32 port crashing if sound was disabled. --- 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 b8ce5803..97d3650b 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -737,10 +737,10 @@ BOOL InitSound() WAVEFORMATEX wfx; DSBCAPS dsbcaps; - if (cfgsoundon == 0) return FALSE; - SoundEnabled = 0; + if (cfgsoundon == 0) return FALSE; + PrevSoundQuality=SoundQuality; PrevStereoSound=StereoSound;