diff options
author | Kostas Nakos | 2006-07-26 20:09:12 +0000 |
---|---|---|
committer | Kostas Nakos | 2006-07-26 20:09:12 +0000 |
commit | fcb7fe3e630b502c78011cb56ff70b0570af0cb6 (patch) | |
tree | 3af25fec700785da448c1aeda377c3ac3ed6d010 | |
parent | c11a5c939d45ae6889f7a67bc515c0cda93ca643 (diff) | |
download | scummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.tar.gz scummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.tar.bz2 scummvm-rg350-fcb7fe3e630b502c78011cb56ff70b0570af0cb6.zip |
hotfix for bug #1519449 (scaling/crash issue) (backport)
svn-id: r23602
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 3 |
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; |