mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-09-10 12:59:08 -05:00
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>
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <wups/config.h>
|
||||
#include <wups/hooks.h>
|
||||
|
||||
#include <coreinit/cache.h>
|
||||
#include <coreinit/title.h>
|
||||
#include <sysapp/launch.h>
|
||||
|
||||
@@ -166,6 +167,7 @@ void ConfigUtils::displayMenu() {
|
||||
|
||||
gOnlyAcceptFromThread = OSGetCurrentThread();
|
||||
ConfigSubState subStateReturnValue = SUB_STATE_ERROR;
|
||||
OSMemoryBarrier();
|
||||
while (true) {
|
||||
startTime = OSGetTime();
|
||||
if (gConfigMenuShouldClose) {
|
||||
|
||||
Reference in New Issue
Block a user