From 02d5976899e7c1b1b598a9151760dcf2a96a83ef Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Fri, 1 Jun 2001 18:23:59 +0000 Subject: [PATCH] Misc code cleanup --- zsnes/src/win/winlink.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 1d539a0c..62b2831c 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -331,9 +331,6 @@ aquireagain:; return TRUE; } -BYTE PrevStereoSound; -DWORD PrevSoundQuality; - void ExitFunction() { ReleaseDirectInput(); @@ -472,8 +469,6 @@ LRESULT CALLBACK Main_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return 0; } - - int RegisterWinClass(void) { if (AllowMultipleInst == 0) @@ -506,6 +501,9 @@ int RegisterWinClass(void) return TRUE; } +BYTE PrevStereoSound; +DWORD PrevSoundQuality; + InitSound() { WAVEFORMATEX wfx;