Commit Graph

138 Commits

Author SHA1 Message Date
Maschell
e12b8a9d84 Update the config menu UI to show the correct controls 2023-01-05 22:09:23 +01:00
Maschell
e7186d67fb Use libschrift instead of Freetype for font rendering 2023-01-04 22:12:14 +01:00
Maschell
333359c75d Avoid using streams in ELFIO to massively reduce the binary size 2023-01-04 16:35:06 +01:00
Maschell
be5574ee9f Remove address translator from ELFIO 2023-01-04 16:35:06 +01:00
Maschell
8367e0e32c Remove all save functions from ELFIO. We don't need them anyway 2023-01-04 16:35:06 +01:00
Maschell
c9ccf0f657 Update to latest ELFIO and undo any changes directly to ELFIO 2023-01-04 03:14:27 +01:00
Maschell
43e2825ec5 Add break in CallHook switch-case 2023-01-04 02:10:12 +01:00
Maschell
bd0a6ce3bf Call the DEINIT_HOOK before restoring the function patches 2023-01-04 02:10:12 +01:00
Maschell
9635766217 Update version string 2022-10-09 16:40:31 +02:00
Maschell
0e56538cb1 Keep track of acquired RPLs and release them on exit 2022-10-05 21:01:41 +02:00
Maschell
2882635f6f Set a custom OSDynLoad Allocator when processing relocations 2022-10-03 22:04:26 +02:00
Maschell
0a254e59f4 Fix resetting the trampoline data to avoid a crash when re-loading plugins 50+ times 2022-10-03 22:04:26 +02:00
Maschell
5303e05508 Call the DEINIT_PLUGIN hook after before unloading a plugin 2022-10-03 22:04:26 +02:00
Maschell
178085750d Use switch-case for hook calling 2022-10-03 22:04:26 +02:00
Maschell
616fc832d1 Ignore files that don't end with ".wps" or start with "." or "_" 2022-09-24 13:19:12 +02:00
Maschell
9dc58d389f Config: Move "onButtonPressed" check out of the loop 2022-09-23 22:45:26 +02:00
Maschell
030c9b4265 Config: Implement "onSelected" callback 2022-09-23 22:45:26 +02:00
Maschell
4a2f60592e Config: Implement "isMovementAllowed" callback 2022-09-23 22:45:26 +02:00
Maschell
e7eeb10873 Config: Add support for X,Y, L3, R3, PLUS and MINUS in "onButtonPressed" callback 2022-09-23 22:45:26 +02:00
Maschell
e5b63ebf9f Bump the version 2022-09-19 22:58:44 +02:00
Maschell
f6d8e850d2 Truncate the headline in config menu 2022-09-19 21:55:48 +02:00
Maschell
80d577b1dd Ignore stick inputs for the config menu combo. 2022-09-19 21:55:48 +02:00
Maschell
e3d3f8a12e Exit the config menu when you RELEASE the home button 2022-09-19 21:55:48 +02:00
Maschell
7aaa35197d Log the current module version on each application start 2022-09-19 16:14:33 +02:00
Maschell
a818088f14 Display the correct version in the config menu 2022-09-19 16:14:33 +02:00
Maschell
c89db187b6 Fix opening the config menu with the classic controller 2022-09-19 16:03:39 +02:00
Maschell
5da5c0e117 Make sure the extensionType is valid before usin KPADData in the config menu 2022-09-19 16:03:39 +02:00
Maschell
edf06a5ee8 Check arguments for WUPSConfigItems exports 2022-09-19 12:58:06 +02:00
Maschell
60daf7aff6 Reduce stacksize for WUPSConfigItem 2022-09-19 12:58:06 +02:00
Maschell
37fb50eebe Fix displaying the config menu on games which run in native 1080p 2022-09-18 21:11:35 +02:00
Maschell
29b0dd6114 ConfigMenu: Render a proper message if not configurable plugins are loaded 2022-08-29 00:49:48 +02:00
Maschell
df01d3785a ConfigMenu: Remove unused option to enable plugins 2022-08-29 00:49:48 +02:00
Maschell
17aa2c0231 ConfigMenu: Redraw the next frame after button has been pressed 2022-08-29 00:49:48 +02:00
Maschell
876d7f0c29 Avoid memory leak in StorageUtils 2022-08-26 22:31:18 +02:00
Maschell
4103493388 Use latest WUPS version 2022-08-26 22:31:18 +02:00
Maschell
ff5d23cae2 Optimize file reading 2022-08-08 12:02:25 +02:00
Maschell
3f3c335a8f Update Dockerfile to use latest wut version 2022-07-25 13:24:51 -07:00
Maschell
9cd0d43111 Fix loading plugins with ".wut_load_bounds" section 2022-05-14 15:43:30 +02:00
Maschell
cda9c3e055 Rewrite the plugin backend, use smart pointers is possible, don't persist in structs and simplify code 2022-05-14 15:43:30 +02:00
Maschell
fb6373ec63 Fix elfLinkOne to support a tramp in both directions 2022-05-14 15:43:30 +02:00
Maschell
ad63f27a8d Add the module name to the logs 2022-05-14 15:43:30 +02:00
Maschell
a7494c59cb Minor code cleanup 2022-04-23 09:11:36 +02:00
Maschell
48eb915a70 Use DEBUG_FUNCTION_LINE_ERR on error. 2022-04-23 09:11:36 +02:00
Maschell
598c928d79 Control verbose logging via buildflags 2022-04-23 09:11:36 +02:00
Maschell
86a946a9fb Store the plugin configs at the correct location when running inside an environment 2022-02-26 16:43:08 +01:00
Maschell
b0d1391e5a Call deinitLogging on exit not request exit 2022-02-26 16:43:08 +01:00
Maschell
a6ced98864 Use proper alignmend buffer for reading/writing 2022-02-26 16:43:08 +01:00
Maschell
a916a6e42b Stop calling deinit when unloading plugins 2022-02-26 16:43:08 +01:00
Maschell
ae3719c833 Only call init malloc/newlib/stdcpp on init 2022-02-26 16:43:08 +01:00
Maschell
4f5ba85c39 Only call fini when the plugin will be unloaded 2022-02-26 16:43:08 +01:00