Fix warning text

This commit is contained in:
Maschell 2024-03-30 14:48:22 +01:00
parent b385dd013c
commit 4653896ec8

View File

@ -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);
} }