Misc code cleanup

This commit is contained in:
pagefault
2001-06-01 18:23:59 +00:00
parent 36e6dd20ec
commit 02d5976899

View File

@@ -331,9 +331,6 @@ aquireagain:;
return TRUE; return TRUE;
} }
BYTE PrevStereoSound;
DWORD PrevSoundQuality;
void ExitFunction() void ExitFunction()
{ {
ReleaseDirectInput(); ReleaseDirectInput();
@@ -472,8 +469,6 @@ LRESULT CALLBACK Main_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return 0; return 0;
} }
int RegisterWinClass(void) int RegisterWinClass(void)
{ {
if (AllowMultipleInst == 0) if (AllowMultipleInst == 0)
@@ -506,6 +501,9 @@ int RegisterWinClass(void)
return TRUE; return TRUE;
} }
BYTE PrevStereoSound;
DWORD PrevSoundQuality;
InitSound() InitSound()
{ {
WAVEFORMATEX wfx; WAVEFORMATEX wfx;