aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/gui.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-15 10:15:29 +0200
committerEugene Sandulenko2016-04-15 17:24:15 +0200
commitcb06c712c7d3a99bdcae4f77cb88a854388f0944 (patch)
tree23a1fe3852108cbd566b9bb8cbfc9aca68438f7c /engines/wage/gui.cpp
parent6a415da6b970a8922dcdeea31d35b836289533d9 (diff)
downloadscummvm-rg350-cb06c712c7d3a99bdcae4f77cb88a854388f0944.tar.gz
scummvm-rg350-cb06c712c7d3a99bdcae4f77cb88a854388f0944.tar.bz2
scummvm-rg350-cb06c712c7d3a99bdcae4f77cb88a854388f0944.zip
WAGE: Fix border clipping
Diffstat (limited to 'engines/wage/gui.cpp')
-rw-r--r--engines/wage/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index f20f18c233..6914fdbf49 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -68,7 +68,7 @@ static const byte palette[] = {
0x80, 0x80, 0x80, // Gray
0xff, 0xff, 0xff, // White
0x00, 0xff, 0x00, // Green
- 0x00, 0x7f, 0x00 // Green2
+ 0x00, 0xcf, 0x00 // Green2
};
static byte fillPatterns[][8] = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, // kPatternSolid
@@ -171,7 +171,7 @@ Gui::Gui(WageEngine *engine) {
_inputTextLineNum = 0;
- g_system->getPaletteManager()->setPalette(palette, 0, 4);
+ g_system->getPaletteManager()->setPalette(palette, 0, ARRAYSIZE(palette) / 3);
CursorMan.replaceCursorPalette(palette, 0, 4);
CursorMan.replaceCursor(macCursorArrow, 11, 16, 1, 1, 3);