mirror of
https://github.com/wiiu-env/librpxloader.git
synced 2024-11-25 03:36:53 +01:00
Fix warning text
This commit is contained in:
parent
b385dd013c
commit
4653896ec8
@ -95,7 +95,7 @@ RPXLoaderStatus RPXLoader_InitLibrary() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "RL_GetPathOfSaveRedirection", (void **) &sRL_GetPathOfSaveRedirection) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "RL_GetPathOfSaveRedirection", (void **) &sRL_GetPathOfSaveRedirection) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("FindExport RL_GetPathOfRunningExecutable failed.");
|
DEBUG_FUNCTION_LINE_WARN("FindExport RL_GetPathOfSaveRedirection failed.");
|
||||||
sRL_GetPathOfSaveRedirection = nullptr;
|
sRL_GetPathOfSaveRedirection = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,4 +210,4 @@ RPXLoaderStatus RPXLoader_GetPathOfSaveRedirection(char *outBuffer, uint32_t out
|
|||||||
}
|
}
|
||||||
|
|
||||||
return reinterpret_cast<decltype(&RPXLoader_GetPathOfSaveRedirection)>(sRL_GetPathOfSaveRedirection)(outBuffer, outSize);
|
return reinterpret_cast<decltype(&RPXLoader_GetPathOfSaveRedirection)>(sRL_GetPathOfSaveRedirection)(outBuffer, outSize);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user