From de97bae3ade322ef57f47518c504350b6a393f62 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 14 Sep 2018 14:33:18 +0200 Subject: [PATCH] Adopt changes of the config menu api. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ddeeda5..6d1207a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,12 +20,12 @@ WUPS_FS_ACCESS() #define WIIU_PATH "/wiiu" #define DEFAULT_HID_TO_VPAD_PATH SD_PATH WIIU_PATH "/apps/hidtovpad" -void rumbleChanged(bool newValue) { +void rumbleChanged(WUPSConfigItemBoolean * item, bool newValue) { DEBUG_FUNCTION_LINE("rumbleChanged %d \n",newValue); ControllerPatcher::setRumbleActivated(newValue); } -void networkClient(bool newValue) { +void networkClient(WUPSConfigItemBoolean * item, bool newValue) { DEBUG_FUNCTION_LINE("Trigger network %d\n",newValue); ControllerPatcher::setNetworkControllerActivated(newValue); if(newValue) {