Commit Graph

9 Commits

Author SHA1 Message Date
Maschell
a4b503c375 Add missing compiler flags that may be required for WUT libraries 2018-06-17 13:00:29 +02:00
Maschell
0d46322cbb Add support for plugins that use wut libraries.
Add the requirement to have wut installed
Modify the plugin makefile, now you need to enable malloc wrapping manually
Change the calling behaviour of the "WUPS_APP_STATUS_CLOSED" hook. PPCExit does NOT get called when opening an application from the system menu.
Add error output to the UDPLogger on failure.
2018-06-17 12:47:45 +02:00
Maschell
982e013a30 Fixed compiling on devkitppc r31 2018-06-14 12:44:56 +02:00
Maschell
544a4da57c [Makefile] Added LD flags to the makefile.mk, removed unneeded directory in EXTERNAL_INCLUDE 2018-03-13 10:15:48 +01:00
Maschell
d949dc8bd1 [Makefile] Split up the plugin makefiles, now common changes can be done in makefile.mk 2018-03-10 13:26:43 +01:00
Maschell
b9b8bceebf [Loader] Added mkdir support to the plugins 2018-03-08 16:38:26 +01:00
Maschell
797e58f576 [General] Moving the FS-wrapper into an own lib, no more macro madness
The library now needs to be build with "make" and installed with "make install".
Make sure to include the -lwups into the plugin projecs.
If you call "WUPS_InitFS(args);" in the INITIALIZE method, the plugin has full SD/USB access.
2018-02-16 21:51:35 +01:00
Maschell
46358ce67a Added SD/USB support for plugins!
Now the plugins inherit the SD/USB access from the loader.
Check
(args != NULL && (args->device_mounted & WUPS_SD_MOUNTED) > 0)
in your INITIALZE method if you have SD access, and
(args != NULL && (args->device_mounted & WUPS_USB_MOUNTED) > 0)
for usb access.
You can simply use open, read etc. then with "sd:/" and "usb:".
No (un)mounting required.
NTFS support is NOT implemented yet.

So:
HID to VPAD plugin can now read configurations
SDCafiine now has support for libfat (other games than SSBU + FAT32 USB)
2018-02-14 22:52:16 +01:00
Maschell
78a160a74c [Plugins] Added readmes to the plugins, renamed SwapDRC to SwipSwapMe 2018-02-13 08:22:05 +01:00