diff options
-rw-r--r-- | backends/wince/CEDevice.cpp | 2 | ||||
-rw-r--r-- | backends/wince/wince-sdl.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/CEDevice.cpp b/backends/wince/CEDevice.cpp index d0236cbf72..b9fd8e789d 100644 --- a/backends/wince/CEDevice.cpp +++ b/backends/wince/CEDevice.cpp @@ -39,7 +39,7 @@ bool CEDevice::hasDesktopResolution() { } bool CEDevice::hasWideResolution() { - return (GetSystemMetrics(SM_CXSCREEN) >= 640 && GetSystemMetrics(SM_CYSCREEN) >= 480); + return (GetSystemMetrics(SM_CXSCREEN) >= 640 || GetSystemMetrics(SM_CYSCREEN) >= 640); } bool CEDevice::hasSmartphoneResolution() { diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index 58227d78b1..df2dbe574c 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -437,10 +437,10 @@ void OSystem_WINCE3::load_gfx_mode() { } // Check if the scaler can be accepted, if not get back to normal scaler - if (_scaleFactor && (_scaleFactor * _screenWidth > GetSystemMetrics(SM_CXSCREEN) && + if (_scaleFactor && ((_scaleFactor * _screenWidth > GetSystemMetrics(SM_CXSCREEN) && _scaleFactor * _screenWidth > GetSystemMetrics(SM_CYSCREEN)) || (_scaleFactor * _screenHeight > GetSystemMetrics(SM_CXSCREEN) && - _scaleFactor * _screenHeight > GetSystemMetrics(SM_CYSCREEN))) { + _scaleFactor * _screenHeight > GetSystemMetrics(SM_CYSCREEN)))) { _scaleFactor = 1; _scaler_proc = Normal1x; } |