Fix RPXLoader_GetStatusStr

This commit is contained in:
Maschell 2022-09-03 14:52:05 +02:00
parent 3d245eb80a
commit abbf92ecca
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ RPXLoaderStatus RPXLoader_GetVersion(uint32_t *outVersion);
* @param path: path to the .rpx/.wuhb that should be loaded. * @param path: path to the .rpx/.wuhb that should be loaded.
* @return RPX_LOADER_RESULT_SUCCESS: Loading of the next RPX will be redirected. <br> * @return RPX_LOADER_RESULT_SUCCESS: Loading of the next RPX will be redirected. <br>
* RPX_LOADER_RESULT_LIB_UNINITIALIZED: Library was not initialized. Call RPXLoader_InitLibrary() before using this function.<br> * RPX_LOADER_RESULT_LIB_UNINITIALIZED: Library was not initialized. Call RPXLoader_InitLibrary() before using this function.<br>
* RPX_LOADER_RESULT_UNSUPPORTED_COMMAND: Command not supported by the currently loaded RPXLoaderModule version.<br><br> * RPX_LOADER_RESULT_UNSUPPORTED_COMMAND: Command not supported by the currently loaded RPXLoaderModule version.<br>
* RPX_LOADER_RESULT_INVALID_ARGUMENT: Given path was NULL<br> * RPX_LOADER_RESULT_INVALID_ARGUMENT: Given path was NULL<br>
* RPX_LOADER_RESULT_UNKNOWN_ERROR: Unexpected error.<br> * RPX_LOADER_RESULT_UNKNOWN_ERROR: Unexpected error.<br>
*/ */

View File

@ -36,7 +36,7 @@ const char *RPXLoader_GetStatusStr(RPXLoaderStatus status) {
case RPX_LOADER_RESULT_UNSUPPORTED_COMMAND: case RPX_LOADER_RESULT_UNSUPPORTED_COMMAND:
return "RPX_LOADER_RESULT_UNSUPPORTED_COMMAND"; return "RPX_LOADER_RESULT_UNSUPPORTED_COMMAND";
} }
return "MOCHA_RESULT_UNKNOWN_ERROR"; return "RPX_LOADER_RESULT_UNKNOWN_ERROR";
} }
static RPXLoaderVersion rpxLoaderVersion = RPX_LOADER_MODULE_VERSION_ERROR; static RPXLoaderVersion rpxLoaderVersion = RPX_LOADER_MODULE_VERSION_ERROR;