mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-08-18 15:30:50 -05:00
Added new macros for FS and overlay access.
Now the plugin don't need to use the INITIALIZE_PLUGIN hook for fs and overlay access, but use the WUPS_FS_ACCESS()/WUPS_ALLOW_OVERLAY() macro.
This commit is contained in:
@@ -16,6 +16,15 @@ WUPS_PLUGIN_VERSION("v1.0");
|
||||
WUPS_PLUGIN_AUTHOR("Maschell");
|
||||
WUPS_PLUGIN_LICENSE("BSD");
|
||||
|
||||
/**
|
||||
Add this to one of your projects file to have access to SD/USB.
|
||||
**/
|
||||
WUPS_FS_ACCESS()
|
||||
/**
|
||||
Add this to one of your projects file to be able to create overlays.
|
||||
**/
|
||||
WUPS_ALLOW_OVERLAY()
|
||||
|
||||
/**
|
||||
All of this defines can be used in ANY file.
|
||||
It's possible to split it up into multiple files.
|
||||
@@ -26,7 +35,6 @@ WUPS_PLUGIN_LICENSE("BSD");
|
||||
Get's called ONCE when the loader exits, but BEFORE the ON_APPLICATION_START gets called or functions are overridden.
|
||||
**/
|
||||
INITIALIZE_PLUGIN(){
|
||||
// Initializes overlay and fs features in the background.
|
||||
InitOSFunctionPointers();
|
||||
InitSocketFunctionPointers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user