Commit Graph

299 Commits

Author SHA1 Message Date
Maschell
fc703e55da Force lower caching value on libfat 2018-09-21 17:17:25 +02:00
Maschell
efc57b17e0 Add a missing closedir in the plugin loader 2018-09-15 14:35:33 +02:00
Maschell
e2f0e83a5f Don't call the DEINIT hook on exit. 2018-09-15 14:35:07 +02:00
Maschell
3acf94d049 Minor formatting 2018-09-14 20:26:31 +02:00
Maschell
e866e6321c Add the option for a config item to check on which screen it can draw via the Overlay API safely. 2018-09-14 20:26:16 +02:00
Maschell
46af94ac1a Minor cosmetic adjustments to the config menu 2018-09-14 20:24:57 +02:00
Maschell
d8d0352569 Force redrawing the config menu when a buttons was pressed on a item. 2018-09-14 20:20:08 +02:00
Maschell
77288a2365 Fix a crash that could happen due worng relocations. The address in the used bl is SINGNED. This mean for everything above 0x01FFFFFC we need to use the big jump. 2018-09-14 19:07:57 +02:00
Maschell
b1d89c9d4d Improve the ConfigItem callback system.
- The callback is now only called when then config menu has been closed and value has actually changed (or an newer value has been read from SD). This increased the performance!
- The WUPSConfigItemBoolean and WUPSConfigItemMultipleValues callbacks now provide a pointer to the causes config item.
2018-09-14 13:02:06 +02:00
Maschell
0d80bd2183 Fix integer underflow in the WUPSConfigItemMultipleValues 2018-09-14 12:59:37 +02:00
Maschell
44f373d3e2 Fix issue #25 2018-09-14 10:38:01 +02:00
Maschell
728593bbfd Add information about the wiki to the README 2018-09-14 10:29:54 +02:00
Maschell
9c912d5c68
Update README.MD 2018-08-06 19:57:59 +02:00
Maschell
3bdd9c7030
Updated the README 2018-07-20 16:54:17 +02:00
Maschell
c90998e515 Update README 2018-07-17 19:10:08 +02:00
Maschell
96fe5b6353 Update the README. Adding information about the configuration menu, fixed typos and add the streaming plugin 2018-07-17 18:10:35 +02:00
Maschell
5d9a2273ad Minor formatting in the CSettings class 2018-07-17 15:28:30 +02:00
Maschell
e947c4e5c3 Fix broken makefile 2018-07-17 15:28:11 +02:00
Maschell
4b835cfc6b Add a config item type for multiple choice configs (e.g. select a resolution) 2018-07-17 15:27:51 +02:00
Maschell
7a04c99d86 Add a config item for boolean values. 2018-07-17 15:27:19 +02:00
Maschell
e6e488a453 Add the possibility of configurations to the plugins!
Adds the configuration menu.
2018-07-17 15:26:52 +02:00
Maschell
97536e1ee3 Fix the overlays by defining them in a C context. 2018-07-17 13:21:07 +02:00
Maschell
712ace5072 Add the plugin file extension to the common.h 2018-07-15 20:14:54 +02:00
Maschell
d4371da0a3 Check the path instead of the plugin name to check if a plugin was loaded. 2018-07-15 19:57:28 +02:00
Maschell
8c99eb42d1 Add argument to the WUPS_OpenOverlay function which can be used to pass data to the callback. 2018-07-15 16:04:22 +02:00
Maschell
3e3b66b581 Add the path to the plugins to the common/common.h 2018-07-15 15:58:23 +02:00
Maschell
e66a61e107 Remove unused settings defines. 2018-07-14 12:05:42 +02:00
Maschell
5b1a7cd28a Add a check to the Makefile if the "DEVKITPRO" variable was set. 2018-07-13 19:26:22 +02:00
Maschell
689e368b26 Add missing non-touch controls to the loader 2018-07-04 17:20:07 +02:00
Maschell
adf9c24ef1 - Allow users to enable/disable plugin in the loader
- Fix some memory leaks
- Add assets needed to display plugins
2018-07-04 16:31:49 +02:00
Maschell
860d2ef84e Update the readme to include links to avaiable WUPS plugins. Add a link to the Discord. 2018-07-01 19:33:40 +02:00
Maschell
88da4f3490 Fix loading multiple plugins at the same time. The plugin destination in memory is not aligned by 0x100. 2018-07-01 12:56:02 +02:00
Maschell
28a2e85eae Add documentation of the WUPS_InitFS and WUPS_InitOverlay function 2018-06-30 19:41:33 +02:00
Maschell
763c5c2006 Add hook that provides functions with kernel access to the plugin 2018-06-30 19:40:59 +02:00
Maschell
c959e86226 Format the function_patcher.h 2018-06-30 19:36:50 +02:00
Maschell
3a82b76d60 Use C++ instead of C for the WUPS lib files. 2018-06-30 16:50:52 +02:00
Maschell
3f1d27f7b2 Replace the "void *" of the fs and overlay access with proper function pointers 2018-06-30 16:49:49 +02:00
Maschell
2f074ac71f Minor adjustments to the example plugin makefile 2018-06-30 16:43:07 +02:00
Maschell
4bdca98d8d Fix for overlay 2018-06-28 23:26:57 +02:00
Maschell
e42230b9a2 Add a example plugin that compatible with the new loader. 2018-06-28 22:27:25 +02:00
Maschell
55e7a67a48 Update the ide_templates to be compatible with the new plugin format 2018-06-28 22:26:05 +02:00
Maschell
061d054089 Add the udp_gecko_reader log to .gitignore 2018-06-28 22:25:30 +02:00
Maschell
0882634c11 Add support for the new plugin format to the loader!
ALL EXISTING PLUGINS ARE STILL BROKEN AND NEED TO BE BUILT AGAIN
2018-06-28 22:25:04 +02:00
Maschell
f3e0eaa176 Update the WUPS linker script and Makefile. The building step now will be simplified. Now WUPS is using binaries linked with the "-q" flag instead of real relocateables.
THIS BREAKS ALL CURRENT PLUGIN AND THE LOADER.
2018-06-28 22:15:32 +02:00
Maschell
0dc08b804b Move wups include into a seperate folder to avoid collisions 2018-06-28 22:04:47 +02:00
Maschell
79c7571248 Reduce the relocation list length in order to reduce the size of the binary 2018-06-26 10:37:29 +02:00
Maschell
545ef11ac8 - Remove plugins from the repository (Will be re-uploaded to different reposistories)
- Updated the codeblocks template
2018-06-23 18:29:23 +02:00
Maschell
0bb7c44feb
Update installupdateportlibs.sh 2018-06-22 10:48:22 +02:00
Maschell
c19a916619 Stop rely on wut for building the loader 2018-06-20 16:16:44 +02:00
Maschell
fc36464c55 Stop rely on wut for building the WUPS library 2018-06-20 16:16:16 +02:00