[Scummvm-cvs-logs] SF.net SVN: scummvm: [26526] tools/trunk/descumm.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon Apr 16 11:16:23 CEST 2007
Revision: 26526
http://scummvm.svn.sourceforge.net/scummvm/?rev=26526&view=rev
Author: kirben
Date: 2007-04-16 02:16:20 -0700 (Mon, 16 Apr 2007)
Log Message:
-----------
Add opcode A5 difference in SCUMM5.
Modified Paths:
--------------
tools/trunk/descumm.cpp
Modified: tools/trunk/descumm.cpp
===================================================================
--- tools/trunk/descumm.cpp 2007-04-16 09:13:43 UTC (rev 26525)
+++ tools/trunk/descumm.cpp 2007-04-16 09:16:20 UTC (rev 26526)
@@ -3635,7 +3635,10 @@
do_tok(buf, "pickupObject", ((opcode & 0x80) ? A1V : A1W));
break;
- case 0xA7:{
+ case 0xA7:
+ if (g_options.scriptVersion == 5) {
+ sprintf(buf, "dummy(%.2X)", opcode);
+ } else {
int d = get_byte();
buf += sprintf(buf, "saveLoadVars(");
if (d == 1) {
@@ -3673,12 +3676,12 @@
}
}
buf += sprintf(buf, ")");
- break;
}
+ break;
case 0x67:
case 0xE7:
- do_tok(buf, "getStringWidth?", AVARSTORE | ((opcode & 0x80) ? A1V : A1B));
+ do_tok(buf, "getStringWidth", AVARSTORE | ((opcode & 0x80) ? A1V : A1B));
break;
case 0x6B:
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