[Scummvm-cvs-logs] CVS: scummvm/simon vga.cpp,1.13,1.14

Travis Howell kirben at users.sourceforge.net
Sun Nov 24 05:45:07 CET 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv26654/simon

Modified Files:
	vga.cpp 
Log Message:

Missed a few disabled debugs


Index: vga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/vga.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- vga.cpp	24 Nov 2002 13:37:50 -0000	1.13
+++ vga.cpp	24 Nov 2002 13:44:24 -0000	1.14
@@ -269,7 +269,8 @@
 	_vc_ptr = _cur_vga_file_1 + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x8 *) b)->script_offs);
 
 
-//  dump_vga_script(_vc_ptr, res, num);
+	if (_vgascript_toggle) 
+		dump_vga_script(_vc_ptr, res, num);
 	run_vga_script();
 
 	_cur_vga_file_1 = old_file_1;
@@ -358,7 +359,8 @@
 	}
 #endif
 
-//  dump_vga_script(_cur_vga_file_1 + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6*)p)->script_offs), res, b);
+	if (_vgascript_toggle) 
+		dump_vga_script(_cur_vga_file_1 + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6*)p)->script_offs), res, b);
 
 	add_vga_timer(gss->VGA_DELAY_BASE,
 								_cur_vga_file_1 + READ_BE_UINT16_UNALIGNED(&((VgaFile1Struct0x6 *) p)->script_offs),
@@ -1789,7 +1791,7 @@
 
 	vc_29_stop_all_sounds();
 
-	if (((_game & GAME_SIMON2)) && (!_video_var_3)) {
+	if ((_game & GAME_SIMON2) && (!_video_var_3)) {
 		warning("vc_62: music stuff?");
 	}
 





More information about the Scummvm-git-logs mailing list