From 994b74a19351143dfcf41e9d7d64174861842e75 Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Mon, 28 Sep 2009 07:04:29 +0000 Subject: 1) fix scaler selection for vga games on vga (or higher) devices. 2) fix a crash during startup svn-id: r44435 --- backends/platform/wince/wince-sdl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backends/platform/wince/wince-sdl.cpp') diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index ab7860dd85..70dc19edf9 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1267,8 +1267,6 @@ bool OSystem_WINCE3::setGraphicsMode(int mode) { else _newOrientation = _orientationLandscape = 0; - update_scalers(); - if (isOzone() && (getScreenWidth() >= 640 || getScreenHeight() >= 640) && mode) _scaleFactorXm = -1; @@ -1956,7 +1954,7 @@ void OSystem_WINCE3::setMousePos(int x, int y) { void OSystem_WINCE3::internDrawMouse() { - if (!_mouseNeedsRedraw || !_mouseVisible || !_mouseData) + if (!_mouseNeedsRedraw || !_mouseVisible || !_mouseData || !_mouseBackupOld) return; int x = _mouseCurState.x - _mouseHotspotX; -- cgit v1.2.3