From 73bf9bfb74b74967fe017dedde2041e31397d75a Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 10 Apr 2017 11:02:58 +0200 Subject: [PATCH] Fixed bug when having more than 9 config files the maximum of controller configs were increased to 32, but the datatype was still u16 (which only has 16 bits). Changing it to u32 should finally fix all issues with the config files --- patcher/ControllerPatcherDefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patcher/ControllerPatcherDefs.h b/patcher/ControllerPatcherDefs.h index 0b6a30a..18b1377 100644 --- a/patcher/ControllerPatcherDefs.h +++ b/patcher/ControllerPatcherDefs.h @@ -218,7 +218,7 @@ enum Controller_Patcher_DPAD_Settings */ typedef struct _HIDSlotData{ u16 deviceslot; /**< deviceslot number */ - u16 hidmask; /**< Used HID-Mask */ + u32 hidmask; /**< Used HID-Mask */ }HIDSlotData; /**