141 Commits

Author SHA1 Message Date
c4ba7030d9 Block on VPADRead() while the plugin menu is open in Hyrule Warriors. (#109)
* Block on `VPADRead()` while the plugin menu is open.

* Trying to please clang-format.

* Block `VPADRead()` only for Hyrule Warriors.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2025-02-14 17:59:06 +01:00
23533c77de Ported the paging code from the main branch.
--HG--
branch : page-up-down-nav
2025-02-08 13:14:17 +01:00
5321272924 Unload unactive plugin when wiiloading a plugin with the same name and author 2025-02-08 13:14:17 +01:00
b031576757 ConfigMenu: Change wording from "activate" to "toogle 2025-02-08 13:14:17 +01:00
9c24ed8f2e StorageAPI: code cleanup 2025-02-08 13:14:17 +01:00
8ae02cdbfe StorageAPI: Make sure we keep mHandle of rootItem when force-reloading storage 2025-02-08 13:14:17 +01:00
aa7eb11013 Remove the global trampoline table and add a small trampoline table next to each .text section instead 2025-02-08 13:14:17 +01:00
94ca12b415 ConfigMenu: Show wiimote button when the last input was on a wiimote 2025-02-08 13:14:17 +01:00
2db2247806 ButtonComboApi: Use C++ APIs where possible 2025-02-08 13:14:17 +01:00
232f51ae68 ButtonComboAPI: Hold duration is now measure in ms instead of frames 2025-02-08 13:14:17 +01:00
930df8748f Clean up includes 2025-02-08 13:14:17 +01:00
cd92e47b9d Add ButtonComboAPI support 2025-02-08 13:14:17 +01:00
82445acaf0 Fix json parsing error handling, other small fixes 2025-02-08 13:14:17 +01:00
d989801b36 More fixes and changes 2025-02-08 13:14:17 +01:00
89012aae29 Render simple safe mode screen 2025-02-08 13:14:17 +01:00
bb8e84088c Add simple "safe mode" which disable all non-basearoma plugins 2025-02-08 13:14:17 +01:00
284f41db54 Fix config menu when no plugins are loaded, improve UI 2025-02-08 13:14:17 +01:00
a92dae2574 Add initial support for persisting a lsit inactive plugins 2025-02-08 13:14:17 +01:00
ab7169e3c9 Reset active state in config menu when active selection is aborted (by pressing B or home) 2025-02-08 13:14:17 +01:00
aa3248d338 Preserve disabled plugins when wiiloading a new plugin 2025-02-08 13:14:17 +01:00
b645e1ce52 Only return active plugins in WUPSGetLoadedPlugins 2025-02-08 13:14:17 +01:00
07a3009d54 Use bulleye char for checkbox 2025-02-08 13:14:17 +01:00
dfa2d084a3 Add support for B-button in active-mode-screen 2025-02-08 13:14:17 +01:00
7802937943 Initial support for disabling/enabling plugins in config menu 2025-02-08 13:14:17 +01:00
98f182501c Only check for config menu if the plugin is linked and loaded 2025-02-08 13:14:17 +01:00
aef2ccc628 Only show active plugins in config menu 2025-02-08 13:14:17 +01:00
84f9c4fab9 Save info is plugin is linked and loaded inside config info 2025-02-08 13:14:17 +01:00
eb648ffe21 Make PluginLinkInformation not optional anymore in PluginContainer, add stub link data if missing 2025-02-08 13:14:17 +01:00
e1d77a971e Rename PluginInformation to PluginLinkInformation and make it optional in PluginContainer 2025-02-08 13:14:17 +01:00
d2c1530084 Update plugin (un)loading logic to keep plugins loaded if possible 2025-02-08 13:14:17 +01:00
6f7afe387e Code cleanup 2025-02-08 13:14:17 +01:00
5893ac2f18 Use left/right to jump a full page on the toplevel menu. (#84)
* Allow using dpad left/right to navigate a whole page up or down, in the toplevel menu.
* Wrap around when paging up/down at the top/bottom.
* Cosmetic code change, and no wrap-around while paging.

---------

Co-authored-by: Daniel K. O. (dkosmari) <none@none>
2024-08-09 19:45:45 +02:00
87bb3c521f Explicit support for Motion Plus controllers 2024-07-05 16:37:20 +02:00
4c1131b0bf Refactor DC register access 2024-05-10 16:52:23 +02:00
6db59dcc16 Redraw the config menu on any input 2024-05-10 16:01:08 +02:00
b372d78b7d Add "saving config" screen to the config menu 2024-05-10 15:46:05 +02:00
d1cfff4861 Fix displaying the config menu when using 480i + 4:3 or 576i as output resolution 2024-05-10 12:34:34 +02:00
43a18b56d7 Small fixes to the .wps loading, return nullptr instead of OSFatal, add asserts instead of OSFatal 2024-05-08 18:08:03 +02:00
ac05cf8231 Sort configs in config menu by name 2024-05-07 14:29:45 +02:00
f9b67d57ea Add support for WUPS 0.8.1 2024-05-05 14:49:59 +02:00
2047d5725b ConfigMenu: Reduce flickering when a plugin config is opened 2024-05-03 17:53:23 +02:00
343092c338 ConfigMenu: Fix redraw logic 2024-05-03 17:53:23 +02:00
be24d2c67a Close config menu if "release foreground" message is detected 2024-05-03 15:13:30 +02:00
a8fd0b64ac ConfigMenu: Block reading input from other threads while the config menu is opened 2024-05-03 13:13:05 +02:00
340fdddf0b ConfigMenu: Only redraw if something on the screen has changed 2024-05-03 13:13:05 +02:00
6e02c4b7a1 config menu: Init KPAD if needed 2024-04-28 02:16:50 +02:00
8071ceabf4 minor fix in drawutils 2024-04-28 02:16:50 +02:00
958ba503c8 config menu: stop exiting the category for certain items 2024-04-28 02:16:50 +02:00
2b29db165c Check if a plugin has a meta section 2024-04-27 17:50:29 +02:00
cada64d86e API: Add WUPSGetPluginMetaInformationByPathEx and WUPSGetPluginMetaInformationByBufferEx 2024-04-25 16:19:26 +02:00