diff options
author | Kostas Nakos | 2009-09-28 07:04:29 +0000 |
---|---|---|
committer | Kostas Nakos | 2009-09-28 07:04:29 +0000 |
commit | 994b74a19351143dfcf41e9d7d64174861842e75 (patch) | |
tree | 8bfb020f88099a317939f5288a414612ff6e6b8a /backends/platform/wince/wince-sdl.cpp | |
parent | 359d374dc6122a97172827e82246126704bbc799 (diff) | |
download | scummvm-rg350-994b74a19351143dfcf41e9d7d64174861842e75.tar.gz scummvm-rg350-994b74a19351143dfcf41e9d7d64174861842e75.tar.bz2 scummvm-rg350-994b74a19351143dfcf41e9d7d64174861842e75.zip |
1) fix scaler selection for vga games on vga (or higher) devices. 2) fix a crash during startup
svn-id: r44435
Diffstat (limited to 'backends/platform/wince/wince-sdl.cpp')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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; |