diff options
author | Filippos Karapetis | 2010-06-10 11:18:10 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-10 11:18:10 +0000 |
commit | 93f33c7dab009e8ff82fac195e7b6d02e66ab755 (patch) | |
tree | 6e96c80da2d5167d781a50f5c4b81b57af3a99b0 /engines/sci/engine/savegame.cpp | |
parent | a635b948239fbbd1ce302fb9d5eac943e90ca7ee (diff) | |
download | scummvm-rg350-93f33c7dab009e8ff82fac195e7b6d02e66ab755.tar.gz scummvm-rg350-93f33c7dab009e8ff82fac195e7b6d02e66ab755.tar.bz2 scummvm-rg350-93f33c7dab009e8ff82fac195e7b6d02e66ab755.zip |
Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, some camelCase changes
svn-id: r49568
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 99191146e5..3cd444d4d7 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -722,7 +722,7 @@ int gamestate_save(EngineState *s, Common::WriteStream *fh, const char* savename meta.savegame_date = ((curTime.tm_mday & 0xFF) << 24) | (((curTime.tm_mon + 1) & 0xFF) << 16) | ((curTime.tm_year + 1900) & 0xFFFF); meta.savegame_time = ((curTime.tm_hour & 0xFF) << 16) | (((curTime.tm_min) & 0xFF) << 8) | ((curTime.tm_sec) & 0xFF); - if (s->execution_stack_base) { + if (s->executionStackBase) { warning("Cannot save from below kernel function"); return 1; } @@ -875,7 +875,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { s->gc_countdown = GC_INTERVAL - 1; // Time state: - s->last_wait_time = g_system->getMillis(); + s->lastWaitTime = g_system->getMillis(); s->game_start_time = g_system->getMillis(); #ifdef USE_OLD_MUSIC_FUNCTIONS |