diff options
author | Max Horn | 2009-03-14 01:44:53 +0000 |
---|---|---|
committer | Max Horn | 2009-03-14 01:44:53 +0000 |
commit | 150b38ffb74344eea6177e38f09da2780b2e2638 (patch) | |
tree | d8c8ee72def9dde726296be315168d8083404234 /engines/sci/engine/savegame.cfsml | |
parent | 0796c72e97e73a217214e4e905ac92d816e6afc9 (diff) | |
download | scummvm-rg350-150b38ffb74344eea6177e38f09da2780b2e2638.tar.gz scummvm-rg350-150b38ffb74344eea6177e38f09da2780b2e2638.tar.bz2 scummvm-rg350-150b38ffb74344eea6177e38f09da2780b2e2638.zip |
SCI: Removed more dead code
svn-id: r39379
Diffstat (limited to 'engines/sci/engine/savegame.cfsml')
-rw-r--r-- | engines/sci/engine/savegame.cfsml | 11 |
1 files changed, 0 insertions, 11 deletions
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; |