[Scummvm-cvs-logs] SF.net SVN: scummvm:[40558] scummvm/trunk/engines/sci/engine/savegame.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu May 14 13:46:03 CEST 2009
Revision: 40558
http://scummvm.svn.sourceforge.net/scummvm/?rev=40558&view=rev
Author: thebluegr
Date: 2009-05-14 11:46:02 +0000 (Thu, 14 May 2009)
Log Message:
-----------
Cleanup
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/savegame.cpp
Modified: scummvm/trunk/engines/sci/engine/savegame.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/savegame.cpp 2009-05-14 11:30:21 UTC (rev 40557)
+++ scummvm/trunk/engines/sci/engine/savegame.cpp 2009-05-14 11:46:02 UTC (rev 40558)
@@ -562,15 +562,9 @@
if (s->version >= SCI_VERSION(1,001,000))
heap = s->resmgr->findResource(kResourceTypeHeap, scr->nr, 0);
- switch (s->seg_manager->isSci1_1) {
- case 0 :
- s->seg_manager->mcpyInOut(0, script->data, script->size, seg, SEG_ID);
- break;
- case 1 :
- s->seg_manager->mcpyInOut(0, script->data, script->size, seg, SEG_ID);
+ s->seg_manager->mcpyInOut(0, script->data, script->size, seg, SEG_ID);
+ if (s->seg_manager->isSci1_1)
s->seg_manager->mcpyInOut(scr->script_size, heap->data, heap->size, seg, SEG_ID);
- break;
- }
}
// FIXME: The following should likely become a SegManager method
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