libfunctionpatcher stuff is persistent from plugin init time to plugin teardown time. but the memory replacements DO need to happen on every launch, so rearrange things a bit.
This copy-and-paste error was a culprit of the bug described in issue #55.
It made the Account Settings applet on Wii U softlock during its initialisation, forcing the user to power off the system.
The applet now works again. However, trying to access it a second time without rebooting still freezes the Wii U, which is another regression listed in issue #55.
while vformat is closer to modern string-formatting sensibilities, it added 400KiB to our binaries, whereas snprintf has no noticeable impact. so... suffer, and hope the translators know what's up
GCC complains about std::make_format_args using non-const references, so
we can't pass along the `get_console_peertopeer_port` directly.
Also replace `unsigned short` with `uint16_t` for clarity.
Realistically, 99% of people will not know how to "ensure the inkay module is properly installed" - Aroma updater is designed to automatically fix random stuff like this
It hashes every individual file so it will pick up SD card corruption, partial installs, etc
Add new `Inkay_GetStatus` which can be used for retrieving the status of
the module. Also add better handling of module initialization, and show
a notification from the plugin if the module can't be found.
This is necessary for a future Aroma feature. This also makes more clear
the immutability of the patches that Pretendo requires, since they
cannot be reverted easily.
All patching code is now managed inside the module, which the plugin
triggers by calling an exported function from it. The WWP reset code
remains within the plugin as it isn't strictly tied to the patches.
Updating the aroma APIs does not demand a major version bump imho
Users are always expected to be on latest aroma anyway, v3 would be saved for like. Stroopwafel
* Fix aroma beta 17 incompatibilities (no network notification, no unregister boss tasks), and fix debug logger
* Update Dockerfile
* Fix logger.h
* Simplify notifcations
* Init nn::boss::Task
* Small fixes for the storage/config API usage
* Do a bunch of stuff, wish I knew what I did but I honestly forgot most of it (this is not considered a 100% functional commit
* Remove remnants of has_displayed_popup variables (not needed anymore)
* More notifications stuff
* Even more notifications stuff
* Fix notifications (yay) (thanks maschell)
* Disable debug by default
* Fix compiler warnings
* Update some stuff, cant test have to go
---------
Co-authored-by: Maschell <Maschell@gmx.de>