@@ -45,30 +45,31 @@ namespace Common {
4545 * @todo Adjust all error codes to comply with these conventions.
4646 */
4747enum ErrorCode {
48- kNoError = 0 , // /< No error occurred.
49- kNoGameDataFoundError , // /< Engine initialization: No game data was found in the specified location.
50- kUnsupportedGameidError , // /< Engine initialization: Game ID not supported by this (Meta)Engine.
51- kUnsupportedColorMode , // /< Engine initialization: Engine does not support backend's color mode.
52- kAudioDeviceInitFailed , // /< Engine initialization: Audio device initialization failed.
48+ kNoError = 0 , // /< No error occurred.
5349
54- kReadPermissionDenied , // /< Unable to read data due to missing read permission.
55- kWritePermissionDenied , // /< Unable to write data due to missing write permission.
50+ kNoGameDataFoundError , // /< Engine initialization: No game data was found in the specified location.
51+ kUnsupportedGameidError , // /< Engine initialization: Game ID not supported by this (Meta)Engine.
52+ kUnsupportedColorMode , // /< Engine initialization: Engine does not support backend's color mode.
53+ kAudioDeviceInitFailed , // /< Engine initialization: Audio device initialization failed.
5654
57- kPathDoesNotExist , // /< The specified path does not exist.
58- kPathNotDirectory , // /< The specified path does not point to a directory.
59- kPathNotFile , // /< The specified path does not point to a file.
55+ kReadPermissionDenied , // /< Unable to read data due to missing read permission.
56+ kWritePermissionDenied , // /< Unable to write data due to missing write permission.
6057
61- kCreatingFileFailed , // /< Failed creating a (savestate) file .
62- kReadingFailed , // /< Failed to read a file (permission denied?) .
63- kWritingFailed , // /< Failure to write data - disk full?
58+ kPathDoesNotExist , // /< The specified path does not exist .
59+ kPathNotDirectory , // /< The specified path does not point to a directory .
60+ kPathNotFile , // /< The specified path does not point to a file.
6461
65- kMetaEnginePluginNotFound , // /< Failed to find a MetaEnginePlugin.
66- kEnginePluginNotFound , // /< Failed to find an Engine plugin to handle target.
62+ kCreatingFileFailed , // /< Failed creating a (savestate) file.
63+ kReadingFailed , // /< Failed to read a file (permission denied?).
64+ kWritingFailed , // /< Failure to write data - disk full?
65+
66+ kMetaEnginePluginNotFound , // /< Failed to find a MetaEnginePlugin.
67+ kEnginePluginNotFound , // /< Failed to find an Engine plugin to handle target.
6768 kEnginePluginNotSupportSaves , // /< The plugin does not support listing save states.
6869
69- kUserCanceled , // /< User has canceled the launching of the game.
70+ kUserCanceled , // /< User has canceled the launching of the game.
7071
71- kUnknownError // /< Catch-all error, used if no other error code matches.
72+ kUnknownError // /< Catch-all error, used if no other error code matches.
7273};
7374
7475/* *
0 commit comments