diff options
author | Strangerke | 2017-11-18 00:06:54 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:40 +0000 |
commit | 7d72ae0d0d2c02a012f6f7362f6110e503813309 (patch) | |
tree | a575df43b7a44ae54b15c8ec1b028136c7f2aa33 /engines/supernova/supernova.cpp | |
parent | 1759d1ffdda4427e9e958fef0fc7ee99d610b2e9 (diff) | |
download | scummvm-rg350-7d72ae0d0d2c02a012f6f7362f6110e503813309.tar.gz scummvm-rg350-7d72ae0d0d2c02a012f6f7362f6110e503813309.tar.bz2 scummvm-rg350-7d72ae0d0d2c02a012f6f7362f6110e503813309.zip |
SUPERNOVA: Implement errorTempSave()
Diffstat (limited to 'engines/supernova/supernova.cpp')
-rw-r--r-- | engines/supernova/supernova.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 6a2327acf7..923b8d6bc5 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -1061,12 +1061,10 @@ bool SupernovaEngine::saveGame(int slot, const Common::String &description) { } void SupernovaEngine::errorTempSave(bool saving) { - // TODO: At this point the engine should terminate with the error - // "Failed to save temporary game state. Make sure your save game directory " - // "is set in scummvm and that you can write to it." - // or - // "Failed to load temporary game state." - warning("STUB: errorTempSave"); + GUIErrorMessage(saving + ? "Failed to save temporary game state. Make sure your save game directory is set in ScummVM and that you can write to it." + : "Failed to load temporary game state."); + error("Unrecoverable error"); } ScreenBufferStack::ScreenBufferStack() |