From f8a4ccbc658ce5c54679264a18b37d9a1cbe29ca Mon Sep 17 00:00:00 2001 From: eriktorbjorn Date: Mon, 20 Jun 2011 20:16:21 +0200 Subject: 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 --- engines/dreamweb/stubs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3