From d4f08b25f27b45ec7e7e8a733eca822a2e941d6c Mon Sep 17 00:00:00 2001 From: "Carl.Kenner" Date: Mon, 27 Apr 2009 18:06:36 +0000 Subject: [PATCH] Harry Potter 1-3 keyboard fix. --- source/ngc/gameinput.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/ngc/gameinput.cpp b/source/ngc/gameinput.cpp index 6f216f1..9cd2dc9 100644 --- a/source/ngc/gameinput.cpp +++ b/source/ngc/gameinput.cpp @@ -601,7 +601,7 @@ u32 TMNTGBAInput(unsigned short pad) { } u32 HarryPotter1GBCInput(unsigned short pad) { - u32 J = StandardMovement(pad) | StandardDPad(pad) | DPadWASD(pad) | DPadArrowKeys(pad) + u32 J = StandardMovement(pad) | StandardDPad(pad) | DecodeKeyboard(pad) | DecodeGamecube(pad); //u8 ScreenMode = gbReadMemory(0xFFCF); //u8 CursorItem = gbReadMemory(0xFFD5); @@ -645,7 +645,7 @@ u32 HarryPotter1GBCInput(unsigned short pad) { } u32 HarryPotter2GBCInput(unsigned short pad) { - u32 J = StandardMovement(pad) | StandardDPad(pad) | DPadWASD(pad) | DPadArrowKeys(pad) + u32 J = StandardMovement(pad) | StandardDPad(pad) | DecodeKeyboard(pad) | DecodeGamecube(pad); #ifdef HW_RVL WPADData * wp = WPAD_Data(pad); @@ -686,7 +686,7 @@ u32 HarryPotter2GBCInput(unsigned short pad) { } u32 HarryPotter1Input(unsigned short pad) { - u32 J = StandardMovement(pad) | DPadWASD(pad) | DPadArrowKeys(pad) + u32 J = StandardMovement(pad) | DecodeKeyboard(pad) | DecodeGamecube(pad); #ifdef HW_RVL WPADData * wp = WPAD_Data(pad); @@ -734,7 +734,7 @@ u32 HarryPotter1Input(unsigned short pad) { } u32 HarryPotter2Input(unsigned short pad) { - u32 J = StandardMovement(pad) | DPadWASD(pad) | DPadArrowKeys(pad) + u32 J = StandardMovement(pad) | DecodeKeyboard(pad) | DecodeGamecube(pad); #ifdef HW_RVL WPADData * wp = WPAD_Data(pad); @@ -784,7 +784,7 @@ u32 HarryPotter2Input(unsigned short pad) { } u32 HarryPotter3Input(unsigned short pad) { - u32 J = StandardMovement(pad) | DPadWASD(pad) | DPadArrowKeys(pad) + u32 J = StandardMovement(pad) | DecodeKeyboard(pad) | DecodeGamecube(pad); #ifdef HW_RVL WPADData * wp = WPAD_Data(pad);