aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/error.cpp12
-rw-r--r--common/error.h5
2 files changed, 10 insertions, 7 deletions
diff --git a/common/error.cpp b/common/error.cpp
index 86557ee2dc..8fa58e2259 100644
--- a/common/error.cpp
+++ b/common/error.cpp
@@ -66,11 +66,15 @@ static String errorToString(ErrorCode errorCode) {
case kWritingFailed:
return _s("Writing data failed");
- case kUnknownError:
- case kPluginNotFound:
- case kPluginNotSupportSaves:
- case kNoSavesError:
+ case kEnginePluginNotFound:
+ return _s("Could not find suitable engine plugin");
+ case kEnginePluginNotSupportSaves:
+ return _s("Engine plugin does not support save states");
+
case kArgumentNotProcessed:
+ return _s("Command line argument not processed");
+
+ case kUnknownError:
default:
return _s("Unknown error");
}
diff --git a/common/error.h b/common/error.h
index 5c19761d6c..1ffbba723a 100644
--- a/common/error.h
+++ b/common/error.h
@@ -63,9 +63,8 @@ enum ErrorCode {
kWritingFailed, ///< Failure to write data -- disk full?
// The following are used by --list-saves
- kPluginNotFound, ///< Failed to find plugin to handle target
- kPluginNotSupportSaves, ///< Failed if plugin does not support saves
- kNoSavesError, ///< There are no saves to show
+ kEnginePluginNotFound, ///< Failed to find plugin to handle target
+ kEnginePluginNotSupportSaves, ///< Failed if plugin does not support listing save states
kArgumentNotProcessed, ///< Used in command line parsing