1) fix scaler selection for vga games on vga (or higher) devices. 2) fix a crash during startup

svn-id: r44435
This commit is contained in:
Kostas Nakos 2009-09-28 07:04:29 +00:00
parent 359d374dc6
commit 994b74a193

View File

@ -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;