Commit Graph

28 Commits

Author SHA1 Message Date
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
debc0eda5e Config: Fix opening empty config categories, display information text 2023-03-12 13:16:42 +01:00
Maschell
21fec8e451 Config: Fix possible crash when navigating the config menu 2023-03-12 13:16:42 +01:00
Maschell
e951299ea9 Improve config menu by adding a loading screen 2023-01-05 22:09:23 +01:00
Maschell
43ddb8f1dd Improve config menu navigation 2023-01-05 22:09:23 +01:00
Maschell
a039901388 Fix the scroll indicator in config menu 2023-01-05 22:09:23 +01:00
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
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
f6d8e850d2 Truncate the headline in config menu 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
a818088f14 Display the correct version in the config menu 2022-09-19 16:14:33 +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
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
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
48eb915a70 Use DEBUG_FUNCTION_LINE_ERR on error. 2022-04-23 09:11:36 +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
fe2e7d6fa9 WUPS 0.6.1 support 2021-10-01 17:25:48 +02: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