diff options
author | Jody Northup | 2009-07-14 08:27:36 +0000 |
---|---|---|
committer | Jody Northup | 2009-07-14 08:27:36 +0000 |
commit | cdf751accda346f5d96e3fdfa2fd4a1b92ed4d19 (patch) | |
tree | ae0684ec45afbb635106c4934f48e3ab0912571d /engines/scumm | |
parent | 6f66d6a42565a803aac300eb6e8541029f682a01 (diff) | |
download | scummvm-rg350-cdf751accda346f5d96e3fdfa2fd4a1b92ed4d19.tar.gz scummvm-rg350-cdf751accda346f5d96e3fdfa2fd4a1b92ed4d19.tar.bz2 scummvm-rg350-cdf751accda346f5d96e3fdfa2fd4a1b92ed4d19.zip |
changed generic Graphics::PixelFormat constructor to take xBits instead of xLoss. Modified OSystem_SDL::getSupportedFormats and ScummEngine::init to account for this change.
svn-id: r42467
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/scumm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 8d078f12d4..a00ace1f49 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1085,7 +1085,7 @@ Common::Error ScummEngine::init() { (_screenWidth * _textSurfaceMultiplier > 320)); } else if (_game.features & GF_16BIT_COLOR) { #ifdef ENABLE_RGB_COLOR - Graphics::PixelFormat format = Graphics::PixelFormat(2, 3, 3, 3, 8, 10, 5, 0, 0); + Graphics::PixelFormat format = Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0); initGraphics(_screenWidth, _screenHeight, _screenWidth > 320, &format); if (format != _system->getScreenFormat()) return Common::kUnsupportedColorMode; |