Misc code cleanup
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user