[Scummvm-cvs-logs] SF.net SVN: scummvm: [24271] scummvm/trunk/engines/agos/agos.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Wed Oct 11 11:22:04 CEST 2006
Revision: 24271
http://svn.sourceforge.net/scummvm/?rev=24271&view=rev
Author: kirben
Date: 2006-10-11 02:21:59 -0700 (Wed, 11 Oct 2006)
Log Message:
-----------
Fix palette display of lower part of screne in Elvira 1
Modified Paths:
--------------
scummvm/trunk/engines/agos/agos.cpp
Modified: scummvm/trunk/engines/agos/agos.cpp
===================================================================
--- scummvm/trunk/engines/agos/agos.cpp 2006-10-11 01:51:10 UTC (rev 24270)
+++ scummvm/trunk/engines/agos/agos.cpp 2006-10-11 09:21:59 UTC (rev 24271)
@@ -1658,10 +1658,10 @@
uint num, num_lines;
VgaPointersEntry *vpe;
byte *bb, *b;
- uint16 count;
+ uint16 count, updateWindow;
const byte *vc_ptr_org;
- _windowNum = mode;
+ _windowNum = updateWindow = mode;
_lockWord |= 0x20;
if (getGameType() == GType_FF || getGameType() == GType_PP) {
@@ -1778,7 +1778,7 @@
runVgaScript();
_vcPtr = vc_ptr_org;
- if (getGameType() == GType_ELVIRA1 && _windowNum == 3 && _bottomPalette != 0) {
+ if (getGameType() == GType_ELVIRA1 && updateWindow == 3 && _bottomPalette != 0) {
byte *dst = getBackBuf() + 42560;
int size = 21440;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list