diff options
author | Kari Salminen | 2009-08-25 19:18:32 +0000 |
---|---|---|
committer | Kari Salminen | 2009-08-25 19:18:32 +0000 |
commit | c1daaf25eb8c8dfbed6fb5bcc532cae319fd5c3d (patch) | |
tree | 4101181a16dc86adbe02317dde008f0a69b161b7 | |
parent | 97e0293dfd4ec510ce3e4408df1a6c0278283de6 (diff) | |
download | scummvm-rg350-c1daaf25eb8c8dfbed6fb5bcc532cae319fd5c3d.tar.gz scummvm-rg350-c1daaf25eb8c8dfbed6fb5bcc532cae319fd5c3d.tar.bz2 scummvm-rg350-c1daaf25eb8c8dfbed6fb5bcc532cae319fd5c3d.zip |
Fix Cine's predefined palette formats (They were all broken by the gsoc2009-16bit-branch's merge in r43577 because of incorrect conversion to PixelFormat's constructor usage).
svn-id: r43731
-rw-r--r-- | engines/cine/pal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cine/pal.h b/engines/cine/pal.h index 26513eb5a1..60d39a0eae 100644 --- a/engines/cine/pal.h +++ b/engines/cine/pal.h @@ -36,7 +36,7 @@ namespace Cine { #define kLowPalNumBytes ((kLowPalNumColors) * (kLowPalBytesPerColor)) /*! \brief Low resolution (9-bit) color format used in Cine's 16-color modes. */ - static const Graphics::PixelFormat kLowPalFormat(kLowPalBytesPerColor, 5, 5, 5, 8, 8, 4, 0, 0); +static const Graphics::PixelFormat kLowPalFormat(kLowPalBytesPerColor, 3, 3, 3, 0, 8, 4, 0, 0); // Constants related to kHighPalFormat @@ -45,10 +45,10 @@ namespace Cine { #define kHighPalNumBytes ((kHighPalNumColors) * (kHighPalBytesPerColor)) /*! \brief High resolution (24-bit) color format used in Cine's 256-color modes. */ -static const Graphics::PixelFormat kHighPalFormat(kHighPalBytesPerColor, 0, 0, 0, 8, 0, 8, 16, 0); +static const Graphics::PixelFormat kHighPalFormat(kHighPalBytesPerColor, 8, 8, 8, 0, 0, 8, 16, 0); /*! \brief The color format used by OSystem's setPalette-function. */ -static const Graphics::PixelFormat kSystemPalFormat(4, 0, 0, 0, 8, 0, 8, 16, 0); +static const Graphics::PixelFormat kSystemPalFormat(4, 8, 8, 8, 0, 0, 8, 16, 0); /*! \brief Endian types. Used at least by Palette class's load and save functions. * TODO: Move somewhere more general as this is definitely not Cine-engine specific |