aboutsummaryrefslogtreecommitdiff
path: root/engines/adl
diff options
context:
space:
mode:
authorWalter van Niftrik2016-03-05 16:34:39 +0100
committerWalter van Niftrik2016-03-09 10:03:13 +0100
commitb2d2f3405e0b36e92402b6c38bc2c406ea960147 (patch)
tree16900373cd9bf27db72bf209c0689352a4430ea2 /engines/adl
parentd3bfdc36578f137352589b8efacc3f4eb24054aa (diff)
downloadscummvm-rg350-b2d2f3405e0b36e92402b6c38bc2c406ea960147.tar.gz
scummvm-rg350-b2d2f3405e0b36e92402b6c38bc2c406ea960147.tar.bz2
scummvm-rg350-b2d2f3405e0b36e92402b6c38bc2c406ea960147.zip
ADL: Make palettes static
Diffstat (limited to 'engines/adl')
-rw-r--r--engines/adl/display.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/adl/display.cpp b/engines/adl/display.cpp
index 6f72f91b32..235e42bb73 100644
--- a/engines/adl/display.cpp
+++ b/engines/adl/display.cpp
@@ -46,7 +46,7 @@ namespace Adl {
#define TEXT_BUF_SIZE (TEXT_WIDTH * TEXT_HEIGHT)
#define COLOR_PALETTE_ENTRIES 8
-const byte colorPalette[COLOR_PALETTE_ENTRIES * 3] = {
+static const byte colorPalette[COLOR_PALETTE_ENTRIES * 3] = {
0x00, 0x00, 0x00,
0xff, 0xff, 0xff,
0xc7, 0x34, 0xff,
@@ -65,7 +65,7 @@ const byte colorPalette[COLOR_PALETTE_ENTRIES * 3] = {
// Green monochrome palette
#define MONO_PALETTE_ENTRIES 2
-const byte monoPalette[MONO_PALETTE_ENTRIES * 3] = {
+static const byte monoPalette[MONO_PALETTE_ENTRIES * 3] = {
0x00, 0x00, 0x00,
0x00, 0xc0, 0x01
};
@@ -110,7 +110,7 @@ Display::Display() :
_cursorPos(0),
_showCursor(false) {
- initGraphics(560, 384, true);
+ initGraphics(DISPLAY_WIDTH * 2, DISPLAY_HEIGHT * 2, true);
_monochrome = !ConfMan.getBool("color");
_scanlines = ConfMan.getBool("scanlines");