From 150b38ffb74344eea6177e38f09da2780b2e2638 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 14 Mar 2009 01:44:53 +0000 Subject: SCI: Removed more dead code svn-id: r39379 --- engines/sci/engine/savegame.cfsml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'engines/sci/engine/savegame.cfsml') diff --git a/engines/sci/engine/savegame.cfsml b/engines/sci/engine/savegame.cfsml index a2e64c9a35..7e1e0e35be 100644 --- a/engines/sci/engine/savegame.cfsml +++ b/engines/sci/engine/savegame.cfsml @@ -48,8 +48,6 @@ namespace Sci { -#define HUNK_TYPE_GFX_SNAPSHOT_STRING "g\n" - /* Missing: ** - SFXdriver ** - File input/output state (this is likely not to happen) @@ -685,12 +683,6 @@ int read_SegManagerPtr(Common::SeekableReadStream *fh, SegManager **foo, const c return 0; } -// This function is called to undo some strange stuff done in preparation -// to writing a gamestate to disk -void _gamestate_unfrob(EngineState *s) { -} - - int gamestate_save(EngineState *s, Common::WriteStream *fh, const char* savename) { tm curTime; g_system->getTimeAndDate(curTime); @@ -728,8 +720,6 @@ int gamestate_save(EngineState *s, Common::WriteStream *fh, const char* savename %CFSMLWRITE SavegameMetadata (&meta) INTO fh; %CFSMLWRITE EngineState s INTO fh; - _gamestate_unfrob(s); - return 0; } @@ -1028,7 +1018,6 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { %CFSMLREAD-ATOMIC EngineState retval FROM fh ERRVAR read_eof; sfx_exit(&s->sound); - _gamestate_unfrob(retval); // Set exec stack base to zero retval->execution_stack_base = 0; -- cgit v1.2.3