mirror of
https://github.com/wiiu-env/drc_region_free_plugin.git
synced 2024-11-16 15:09:18 +01:00
26 lines
716 B
C++
26 lines
716 B
C++
#include <wups.h>
|
|
#include <whb/log.h>
|
|
#include <whb/log_udp.h>
|
|
#include "utils/utils.h"
|
|
|
|
WUPS_PLUGIN_NAME("drc_region_free_plugin");
|
|
WUPS_PLUGIN_DESCRIPTION("Allows the usage of gamepads from every region");
|
|
WUPS_PLUGIN_VERSION("0.1");
|
|
WUPS_PLUGIN_AUTHOR("Maschell");
|
|
WUPS_PLUGIN_LICENSE("GPL");
|
|
|
|
/* Entry point */
|
|
ON_APPLICATION_START() {
|
|
WHBLogUdpInit();
|
|
}
|
|
|
|
DECL_FUNCTION(uint32_t, CCRSysDRCFWUpdate, uint32_t u1) {
|
|
return 0;
|
|
}
|
|
|
|
DECL_FUNCTION(uint32_t, CCRSysNeedsDRCFWUpdate, uint32_t u1, uint32_t u2) {
|
|
return 0;
|
|
}
|
|
|
|
WUPS_MUST_REPLACE(CCRSysNeedsDRCFWUpdate, WUPS_LOADER_LIBRARY_NN_CCR, CCRSysNeedsDRCFWUpdate);
|
|
WUPS_MUST_REPLACE(CCRSysDRCFWUpdate, WUPS_LOADER_LIBRARY_NN_CCR, CCRSysDRCFWUpdate); |