diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/pal.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cine/pal.cpp b/engines/cine/pal.cpp index 27d0e593da..34b196d5c7 100644 --- a/engines/cine/pal.cpp +++ b/engines/cine/pal.cpp @@ -186,8 +186,7 @@ const Graphics::PixelFormat &Palette::colorFormat() const { void Palette::setGlobalOSystemPalette() const { byte buf[256 * 4]; // Allocate space for the largest possible palette // The color format used by OSystem's setPalette-function: - static const Graphics::PixelFormat kSystemPalFormat(4, 8, 8, 8, 0, 0, 8, 16, 0); - save(buf, sizeof(buf), kSystemPalFormat, CINE_LITTLE_ENDIAN); + save(buf, sizeof(buf), Graphics::PixelFormat(4, 8, 8, 8, 0, 0, 8, 16, 0), CINE_LITTLE_ENDIAN); if (g_cine->getPlatform() == Common::kPlatformAmiga && colorCount() == 16) { // The Amiga version of Future Wars does use the upper 16 colors for a darkened |