COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessed
Instead of defining a hacked up Common::Error code, split the return value of processSettings into two parts: An error code, and a value which indicates whether the specified command was completely handled by processSettings or not.
This commit is contained in:
parent
6f6051a9e1
commit
20cad6e8b6
7 changed files with 42 additions and 19 deletions
|
@ -67,9 +67,6 @@ static String errorToString(ErrorCode errorCode) {
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue