aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorKostas Nakos2006-07-26 20:09:12 +0000
committerKostas Nakos2006-07-26 20:09:12 +0000
commitfcb7fe3e630b502c78011cb56ff70b0570af0cb6 (patch)
tree3af25fec700785da448c1aeda377c3ac3ed6d010 /backends
parentc11a5c939d45ae6889f7a67bc515c0cda93ca643 (diff)
downloadscummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.tar.gz
scummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.tar.bz2
scummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.zip
hotfix for bug #1519449 (scaling/crash issue) (backport)
svn-id: r23602
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/wince/wince-sdl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp
index 2f50fcdecd..6ba02e3949 100644
--- a/backends/platform/wince/wince-sdl.cpp
+++ b/backends/platform/wince/wince-sdl.cpp
@@ -908,7 +908,8 @@ bool OSystem_WINCE3::update_scalers() {
_modeFlags = 0;
}
if ( _orientationLandscape && (_screenWidth == 320 || !_screenWidth)) {
- if (!_panelVisible && !_hasSmartphoneResolution && !_overlayVisible) {
+ Common::String gameid(ConfMan.get("gameid")); // consider removing this check and start honoring the _adjustAspectRatio flag
+ if (!_panelVisible && !_hasSmartphoneResolution && !_overlayVisible && !(strncmp(gameid.c_str(), "zak", 3) == 0)) {
_scaleFactorXm = 1;
_scaleFactorXd = 1;
_scaleFactorYm = 6;