[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.93,1.94
Travis Howell
kirben at users.sourceforge.net
Fri Dec 5 20:19:01 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.102,1.103
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm/smush insane.cpp,NONE,1.1 insane.h,NONE,1.1 smush_player.cpp,1.65,1.66 smush_player.h,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv3471/simon
Modified Files:
vga.cpp
Log Message:
This checks should be simon1win only, just to be on safe side.
Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- vga.cpp 2 Dec 2003 05:53:32 -0000 1.93
+++ vga.cpp 6 Dec 2003 04:18:48 -0000 1.94
@@ -1221,7 +1221,7 @@
vsp = _vga_sprites;
while (vsp->id) {
- if (vsp->id == 128) {
+ if ((_game == GAME_SIMON1WIN) && (vsp->id == 0x80)) {
memcpy(&bak, vsp, sizeof(VgaSprite));
}
vsp->id = 0;
@@ -1245,7 +1245,7 @@
memcpy(vte2, vte2 + 1, sizeof(VgaTimerEntry));
vte2++;
}
- } else {
+ } else if (_game == GAME_SIMON1WIN) {
vte++;
}
}
@@ -1730,7 +1730,7 @@
vsp = _vga_sprites;
while (vsp->id != 0) {
- if (vsp->id == 128) {
+ if (vsp->id == 0x80) {
byte *old_file_1 = _cur_vga_file_1;
byte *old_file_2 = _cur_vga_file_2;
uint palmode = _video_palette_mode;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.102,1.103
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm/smush insane.cpp,NONE,1.1 insane.h,NONE,1.1 smush_player.cpp,1.65,1.66 smush_player.h,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list