Fix RPXLoader_LaunchHomebrew

This commit is contained in:
Maschell 2023-02-18 09:19:11 +01:00
parent 11fadf1e8b
commit 49a6addb79

View File

@ -145,7 +145,7 @@ RPXLoaderStatus RPXLoader_LaunchHomebrew(const char *bundle_path) {
if (sRLLaunchHomebrew == nullptr || rpxLoaderVersion < 1) { if (sRLLaunchHomebrew == nullptr || rpxLoaderVersion < 1) {
return RPX_LOADER_RESULT_UNSUPPORTED_COMMAND; return RPX_LOADER_RESULT_UNSUPPORTED_COMMAND;
} }
return reinterpret_cast<decltype(&LaunchHomebrew)>(sRLLaunchHomebrew)(); return reinterpret_cast<decltype(&RPXLoader_LaunchHomebrew)>(sRLLaunchHomebrew)(bundle_path);
} }
RPXLoaderStatus EnableContentRedirection(); RPXLoaderStatus EnableContentRedirection();