aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/supernova.cpp10
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()