aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-20 20:16:21 +0200
committereriktorbjorn2011-06-20 20:16:21 +0200
commitf8a4ccbc658ce5c54679264a18b37d9a1cbe29ca (patch)
treeb59fbee28768567ee3e07b40155e25129685062b /engines
parentf78d5bc553e1e372b9e21c867e70bd561a8eb1bb (diff)
downloadscummvm-rg350-f8a4ccbc658ce5c54679264a18b37d9a1cbe29ca.tar.gz
scummvm-rg350-f8a4ccbc658ce5c54679264a18b37d9a1cbe29ca.tar.bz2
scummvm-rg350-f8a4ccbc658ce5c54679264a18b37d9a1cbe29ca.zip
DREAMWEB: Use kMaingamepal provided by the tasm-recover
This should significantly decrease the risk of mysterious palette bugs in the PCX title cards after regenerating dreamgen.cpp
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/stubs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 58f2441791..eebfbeb0d4 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -450,7 +450,7 @@ void DreamGenContext::showpcx() {
pcxFile.seek(16, SEEK_SET);
es = data.word(kBuffers);
- maingamepal = es.ptr(4782, 768); //fixme: hardcoded offset
+ maingamepal = es.ptr(kMaingamepal, 768);
pcxFile.read(maingamepal, 48);
memset(maingamepal + 48, 0xff, 720);