[Scummvm-cvs-logs] SF.net SVN: scummvm:[39198] scummvm/trunk/engines/sci/engine/savegame.cfsml
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Mar 7 19:43:15 CET 2009
Revision: 39198
http://scummvm.svn.sourceforge.net/scummvm/?rev=39198&view=rev
Author: thebluegr
Date: 2009-03-07 18:43:15 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Updated savegame.cfsml
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/savegame.cfsml
Modified: scummvm/trunk/engines/sci/engine/savegame.cfsml
===================================================================
--- scummvm/trunk/engines/sci/engine/savegame.cfsml 2009-03-07 17:56:56 UTC (rev 39197)
+++ scummvm/trunk/engines/sci/engine/savegame.cfsml 2009-03-07 18:43:15 UTC (rev 39198)
@@ -808,13 +808,13 @@
buf += magic_pos_adder;
do {
- int seeker_type = getUInt16(buf);
+ int seeker_type = READ_LE_UINT16(buf);
int seeker_size;
if (seeker_type == 0) break;
if (seeker_type == type) return buf;
- seeker_size = getUInt16(buf + 2);
+ seeker_size = READ_LE_UINT16(buf + 2);
buf += seeker_size;
} while(1);
@@ -914,13 +914,13 @@
byte *data = scr->buf + scr->objects[j].pos.offset;
if (self->isSci1_1) {
- uint16 *funct_area = (uint16 *) (scr->buf + getUInt16( data + 6 ));
- uint16 *prop_area = (uint16 *) (scr->buf + getUInt16( data + 4 ));
+ uint16 *funct_area = (uint16 *) (scr->buf + READ_LE_UINT16( data + 6 ));
+ uint16 *prop_area = (uint16 *) (scr->buf + READ_LE_UINT16( data + 4 ));
scr->objects[j].base_method = funct_area;
scr->objects[j].base_vars = prop_area;
} else {
- int funct_area = getUInt16( data + SCRIPT_FUNCTAREAPTR_OFFSET );
+ int funct_area = READ_LE_UINT16( data + SCRIPT_FUNCTAREAPTR_OFFSET );
Object *base_obj;
base_obj = obj_get(s, scr->objects[j].variables[SCRIPT_SPECIES_SELECTOR]);
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