[Scummvm-cvs-logs] SF.net SVN: scummvm: [27719] scummvm/trunk/engines/agi/op_cmd.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Tue Jun 26 00:06:58 CEST 2007
Revision: 27719
http://scummvm.svn.sourceforge.net/scummvm/?rev=27719&view=rev
Author: buddha_
Date: 2007-06-25 15:06:58 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Add workaround for Gold Rush intro skipping bug #1737343.
Modified Paths:
--------------
scummvm/trunk/engines/agi/op_cmd.cpp
Modified: scummvm/trunk/engines/agi/op_cmd.cpp
===================================================================
--- scummvm/trunk/engines/agi/op_cmd.cpp 2007-06-25 21:09:08 UTC (rev 27718)
+++ scummvm/trunk/engines/agi/op_cmd.cpp 2007-06-25 22:06:58 UTC (rev 27719)
@@ -153,6 +153,18 @@
cmd(new_room) {
g_agi->newRoom(p0);
+
+ // WORKAROUND: Works around intro skipping bug (#1737343) in Gold Rush.
+ // Intro was skipped because the enter-keypress finalizing the entering
+ // of the copy protection string (Copy protection is in logic.128) was
+ // left over to the intro scene (Starts with room 73 i.e. logic.073).
+ // The intro scene checks for any keys pressed and if it finds any it
+ // jumps to the game's start (Room 1 i.e. logic.001). We clear the
+ // keyboard buffer when the intro sequence's first room (Room 73) is
+ // loaded so that no keys from the copy protection scene can be left
+ // over to cause the intro to skip to the game's start.
+ if (g_agi->getGameID() == GID_GOLDRUSH && p0 == 73)
+ game.keypress = 0;
}
cmd(new_room_f) {
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