aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-02 11:45:59 +0000
committerPaul Gilbert2008-01-02 11:45:59 +0000
commitb6f39fb8fb01a0aea046fb5d919b5a1745d51808 (patch)
tree8d2c3c35e8dec72869995cc81437254f9da64306 /engines
parent01c611385e1f84ee45925e4f2011d50a5351ba9c (diff)
downloadscummvm-rg350-b6f39fb8fb01a0aea046fb5d919b5a1745d51808.tar.gz
scummvm-rg350-b6f39fb8fb01a0aea046fb5d919b5a1745d51808.tar.bz2
scummvm-rg350-b6f39fb8fb01a0aea046fb5d919b5a1745d51808.zip
Adjusted the colour of the EGA cursors to match the original game
svn-id: r30146
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/res.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/lure/res.cpp b/engines/lure/res.cpp
index b8af8d973b..1aa5091a19 100644
--- a/engines/lure/res.cpp
+++ b/engines/lure/res.cpp
@@ -415,7 +415,6 @@ byte *Resources::getCursor(uint8 cursorNum) {
Common::set_to(&_cursor[0], &_cursor[0] + CURSOR_SIZE, 0);
byte *pSrc = _cursors->data() + (cursorNum * 64);
byte *pDest = &_cursor[0];
- int planeNum = 0;
for (int y = 0; y < 16; ++y) {
for (int x = 0; x < 2; ++x) {
@@ -434,10 +433,9 @@ byte *Resources::getCursor(uint8 cursorNum) {
}
}
- // Post-process the cells to swap any values of 2 and 3
+ // Post-process the cells to adjust the colour
for (int index = 0; index < CURSOR_SIZE; ++index) {
- if (_cursor[index] == 2) _cursor[index] = 3;
- else if (_cursor[index] == 3) _cursor[index] = 2;
+ if (_cursor[index] == 3) _cursor[index] = 15;
}
return &_cursor[0];