mirror of
https://github.com/wiiu-env/libwupsbackend.git
synced 2024-06-02 09:38:44 +02:00
Compare commits
2 Commits
a2d91bb6aa
...
19f6ac9c23
Author | SHA1 | Date | |
---|---|---|---|
|
19f6ac9c23 | ||
|
6a3d016d70 |
|
@ -1,6 +1,6 @@
|
||||||
FROM ghcr.io/wiiu-env/devkitppc:20221228
|
FROM ghcr.io/wiiu-env/devkitppc:20230621
|
||||||
|
|
||||||
COPY --from=ghcr.io/wiiu-env/wiiupluginsystem:20230215 /artifacts $DEVKITPRO
|
COPY --from=ghcr.io/wiiu-env/wiiupluginsystem:20230621 /artifacts $DEVKITPRO
|
||||||
|
|
||||||
WORKDIR tmp_build
|
WORKDIR tmp_build
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
FROM ghcr.io/wiiu-env/devkitppc:20221228
|
FROM ghcr.io/wiiu-env/devkitppc:20230621
|
||||||
|
|
||||||
WORKDIR project
|
WORKDIR project
|
|
@ -61,22 +61,22 @@ PluginBackendApiErrorType WUPSBackend_InitLibrary() {
|
||||||
return PLUGIN_BACKEND_API_ERROR_MODULE_NOT_FOUND;
|
return PLUGIN_BACKEND_API_ERROR_MODULE_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUPSGetAPIVersion", (void **) &sWUPSGetAPIVersion) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUPSGetAPIVersion", (void **) &sWUPSGetAPIVersion) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_ERR("FindExport WUPSGetAPIVersion failed.");
|
DEBUG_FUNCTION_LINE_ERR("FindExport WUPSGetAPIVersion failed.");
|
||||||
return PLUGIN_BACKEND_API_ERROR_MODULE_MISSING_EXPORT;
|
return PLUGIN_BACKEND_API_ERROR_MODULE_MISSING_EXPORT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUPSWillReloadPluginsOnNextLaunch", (void **) &sWUPSWillReloadPluginsOnNextLaunch) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUPSWillReloadPluginsOnNextLaunch", (void **) &sWUPSWillReloadPluginsOnNextLaunch) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSWillReloadPluginsOnNextLaunch failed.");
|
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSWillReloadPluginsOnNextLaunch failed.");
|
||||||
sWUPSWillReloadPluginsOnNextLaunch = nullptr;
|
sWUPSWillReloadPluginsOnNextLaunch = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUPSGetNumberOfLoadedPlugins", (void **) &sWUPSGetNumberOfLoadedPlugins) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUPSGetNumberOfLoadedPlugins", (void **) &sWUPSGetNumberOfLoadedPlugins) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetNumberOfLoadedPlugins failed.");
|
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetNumberOfLoadedPlugins failed.");
|
||||||
sWUPSGetNumberOfLoadedPlugins = nullptr;
|
sWUPSGetNumberOfLoadedPlugins = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUPSGetSectionMemoryAddresses", (void **) &sWUPSGetSectionMemoryAddresses) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUPSGetSectionMemoryAddresses", (void **) &sWUPSGetSectionMemoryAddresses) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetSectionMemoryAddresses failed.");
|
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetSectionMemoryAddresses failed.");
|
||||||
sWUPSGetSectionMemoryAddresses = nullptr;
|
sWUPSGetSectionMemoryAddresses = nullptr;
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ PluginBackendApiErrorType WUPSBackend_GetApiVersion(WUPSBackendAPIVersion *outVe
|
||||||
return PLUGIN_BACKEND_API_ERROR_MODULE_NOT_FOUND;
|
return PLUGIN_BACKEND_API_ERROR_MODULE_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSDynLoad_FindExport(sModuleHandle, FALSE, "WUPSGetAPIVersion", (void **) &sWUPSGetAPIVersion) != OS_DYNLOAD_OK) {
|
if (OSDynLoad_FindExport(sModuleHandle, OS_DYNLOAD_EXPORT_FUNC, "WUPSGetAPIVersion", (void **) &sWUPSGetAPIVersion) != OS_DYNLOAD_OK) {
|
||||||
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetAPIVersion failed.");
|
DEBUG_FUNCTION_LINE_WARN("FindExport WUPSGetAPIVersion failed.");
|
||||||
return PLUGIN_BACKEND_API_ERROR_MODULE_MISSING_EXPORT;
|
return PLUGIN_BACKEND_API_ERROR_MODULE_MISSING_EXPORT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user