Commit Graph

36 Commits

Author SHA1 Message Date
Daniel K. O.
5f23142b2d
Add WUPSConfigAPI_Menu_GetStatus() function. (#89)
* Add `WUPSConfigAPI_Menu_GetStatus()` function.

--HG--
branch : menu-status-api-hg

* Indentation fix.

--HG--
branch : menu-status-api-hg

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-12-01 09:13:16 +01:00
Maschell
447e1eb218 Code cleanup 2024-11-28 19:44:14 +01:00
Andrew
87bb3c521f Explicit support for Motion Plus controllers 2024-07-05 16:37:20 +02:00
Maschell
c47c79e771 Make sure to only access valid buffers in VPADRead and WPADRead hooks 2024-07-05 16:37:20 +02:00
Maschell
be24d2c67a Close config menu if "release foreground" message is detected 2024-05-03 15:13:30 +02:00
Maschell
f1a33df12d function_patches: make sure variables are static 2024-05-03 15:13:30 +02:00
Maschell
a8fd0b64ac ConfigMenu: Block reading input from other threads while the config menu is opened 2024-05-03 13:13:05 +02:00
Maschell
7d07f6525b Remove unnecessary std::unique_ptr usages 2024-04-25 16:19:26 +02:00
Maschell
cc5acd0980 - use const auto& where possible
- avoid using const std::unique_ptr& and const std::shared_ptr&
- avoid wrapping results in std::optional
- prefer std::string_view over const std::string&
- update FSUtils::LoadFileToMem to write into std::vector<uint8_t>
- use std::span when possible
- Avoid unnessecary copies in PluginDataFactory
- allocate plugins as HeapMemoryFixedSize which bascially is a std::unique_ptr with fixed size
2024-04-25 16:19:26 +02:00
Maschell
80d577b1dd Ignore stick inputs for the config menu combo. 2022-09-19 21:55:48 +02:00
Maschell
c89db187b6 Fix opening the config menu with the classic controller 2022-09-19 16:03:39 +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
6df6d871aa Include cleanup, fix compiling with latest wut, 2022-02-26 16:43:08 +01:00
Maschell
2547c7edca Format the code via clang-format 2022-02-04 16:35:53 +01:00
Maschell
614f58ea8e Formatting, fix spelling, clean up 2022-01-27 12:47:33 +01:00
Maschell
64f78ccec4 Patch Kernel to resolve symbols names of plugins 2021-12-15 17:04:30 +01:00
Maschell
aa90e2478b Formatting and cleanup 2021-09-25 14:26:18 +02:00
Maschell
13ed348f43 Add support for the config and storage API. Bump version to 0.6 2021-09-24 20:37:54 +02:00
Maschell
f11649bc36 Support WUPS 0.4, remove some unused code. 2021-03-16 17:55:32 +01:00
Maschell
75bbf9b457 Call ApplicationEnd-hooks inside WUMS_APPLICATIONS_ENDS, remove __init_wut()/__fini_wut() calls 2020-12-28 14:38:08 +01:00
Maschell
e9bd4651ca Clean up and formatting 2020-12-26 14:17:50 +01:00
Maschell
0467178650 Add missing __init_wut and __fini_wut calls 2020-12-26 13:27:50 +01:00
Maschell
2e2c46324c Implement WUPS_LOADER_HOOK_VSYNC hook 2020-08-09 18:14:58 +02:00
Maschell
ce73ac48e0 Use the function patcher module for the plugin function patches 2020-06-13 16:57:53 +02:00
Maschell
dfb8828829 Use libfunctionpatcher for non-plugin function patches 2020-06-12 20:51:21 +02:00
Maschell
506b8eaf9a Use definitions from WUMS if possible 2020-06-06 16:40:25 +02:00
Maschell
42866ffbac Don't clear the .bss section anymore, call the wut init functions only once, except the devop one 2020-06-03 19:33:09 +02:00
Maschell
13e5d854d1 Use libkernel for a KernelCopy instead register own kernel functions. 2020-05-28 21:58:15 +02:00
Maschell
9ee8085a64 OSReceiveMessage hook: Only look into the message if the result is true 2020-05-28 20:51:56 +02:00
Maschell
80a0712519 Make sure to use plugins only in proccess 2 and 15. 2020-05-28 20:49:52 +02:00
Maschell
3af7de28d8 Move global variables into a own file 2020-05-17 20:40:05 +02:00
Maschell
ccdc22c923 Improve logging 2020-05-08 11:17:24 +02:00
Maschell
0c0680be77 Even more formatting 2020-05-03 12:30:15 +02:00
Maschell
4f5de0f889 Add intial support for function patching via plugins 2020-05-03 11:13:55 +02:00
Maschell
89445b77c2 Calling FINI_WUT_DEVOPTAB at the end of a application is softlocking.
MEM2 is cleared anyway so this shouldn't be a memory leak. Needs further research
2020-04-29 18:07:03 +02:00
Maschell
2705a91c13 First iteration of the WUPS-Backend as a .rpx/module for the SetupPayload
- Function replacements are not implemented yet
- Serveral features like the config menu are missing

Still WIP
2020-04-29 18:02:36 +02:00