aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r--engines/engine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index 52b4cc4ad3..fc13adf9c7 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -255,9 +255,9 @@ void Engine::syncSoundSettings() {
_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, soundVolumeSpeech);
}
-int Engine::loadGameState(int slot) {
+Common::Error Engine::loadGameState(int slot) {
// Do nothing by default
- return 0;
+ return Common::kNoError;
}
bool Engine::canLoadGameStateCurrently() {
@@ -265,9 +265,9 @@ bool Engine::canLoadGameStateCurrently() {
return false;
}
-int Engine::saveGameState(int slot, const char *desc) {
+Common::Error Engine::saveGameState(int slot, const char *desc) {
// Do nothing by default
- return 0;
+ return Common::kNoError;
}
bool Engine::canSaveGameStateCurrently() {