Code cleanup.

This commit is contained in:
Renaud Lepage
2006-09-15 15:01:50 +00:00
parent 7f4797e7af
commit 0a872c8c77
@@ -12,7 +12,7 @@ static bool g_bResolutionChanged = false;
static bool g_bHasFocus = true; static bool g_bHasFocus = true;
static bool g_bLastHasFocus = true; static bool g_bLastHasFocus = true;
static bool m_bWideWindowClass; static bool m_bWideWindowClass;
void isPALSystem(); bool isPALSystem();
void setScreenResolutionValues(); void setScreenResolutionValues();
void GraphicsWindow::SetVideoModeParams( const VideoModeParams &params ) void GraphicsWindow::SetVideoModeParams( const VideoModeParams &params )
@@ -63,9 +63,11 @@ bool isPALSystem()
g_CurrentParams.rate = 50; g_CurrentParams.rate = 50;
g_CurrentParams.PAL = true; g_CurrentParams.PAL = true;
return true;
} }
g_CurrentParams.rate = 60; g_CurrentParams.rate = 60;
g_CurrentParams.PAL = false; g_CurrentParams.PAL = false;
return false;
} }
void setScreenResolutionValues() void setScreenResolutionValues()
{ {