diff options
author | Filippos Karapetis | 2009-05-12 08:27:06 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-12 08:27:06 +0000 |
commit | 968aec7627ab397e48ce8039ec1e4789c64c5f37 (patch) | |
tree | 6b2af3ec7a8ba02908ff6449e85b603bddfb84de /backends/platform | |
parent | a5a1aa5542a53cbe72f0457c0949f0dd87513870 (diff) | |
download | scummvm-rg350-968aec7627ab397e48ce8039ec1e4789c64c5f37.tar.gz scummvm-rg350-968aec7627ab397e48ce8039ec1e4789c64c5f37.tar.bz2 scummvm-rg350-968aec7627ab397e48ce8039ec1e4789c64c5f37.zip |
Synced WinCE SDL backend with the changes in commit #40226. Hopefully, this will fix bug #2790461 - "WINCE: Compilation broken"
svn-id: r40475
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index a191af0810..6d27b46813 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1153,7 +1153,7 @@ bool OSystem_WINCE3::update_scalers() { if (_videoMode.mode != GFX_NORMAL) return false; - _videoMode.aspectRatio = false; + _videoMode.aspectRatioCorrection = false; if (CEDevice::hasPocketPCResolution()) { if ( (!_orientationLandscape && (_videoMode.screenWidth == 320 || !_videoMode.screenWidth)) @@ -1181,7 +1181,7 @@ bool OSystem_WINCE3::update_scalers() { _scaleFactorYd = 5; _scalerProc = PocketPCLandscapeAspect; _modeFlags = 0; - _videoMode.aspectRatio = true; + _videoMode.aspectRatioCorrection = true; } else { _scaleFactorXm = 1; _scaleFactorXd = 1; @@ -1367,7 +1367,7 @@ bool OSystem_WINCE3::loadGFXMode() { // Create the surface that contains the scaled graphics in 16 bit mode // Always use full screen mode to have a "clean screen" - if (!_videoMode.aspectRatio) { + if (!_videoMode.aspectRatioCorrection) { displayWidth = _videoMode.screenWidth * _scaleFactorXm / _scaleFactorXd; displayHeight = _videoMode.screenHeight * _scaleFactorYm / _scaleFactorYd; } else { @@ -1559,7 +1559,7 @@ void OSystem_WINCE3::internUpdateScreen() { // If the shake position changed, fill the dirty area with blackness if (_currentShakePos != _newShakePos) { SDL_Rect blackrect = {0, 0, _videoMode.screenWidth * _scaleFactorXm / _scaleFactorXd, _newShakePos * _scaleFactorYm / _scaleFactorYd}; - if (_videoMode.aspectRatio) + if (_videoMode.aspectRatioCorrection) blackrect.h = real2Aspect(blackrect.h - 1) + 1; SDL_FillRect(_hwscreen, &blackrect, 0); _currentShakePos = _newShakePos; |