mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 10:39:18 +01:00
Fix for gamecube controller Mortal Kombat bug.
This commit is contained in:
parent
52e6039e15
commit
29a272fbb5
@ -183,9 +183,9 @@ u32 GetMKInput(unsigned short pad, int rumbleTime=4) {
|
|||||||
if (gc & PAD_BUTTON_START) Start = true;
|
if (gc & PAD_BUTTON_START) Start = true;
|
||||||
// Punch
|
// Punch
|
||||||
if (gc & PAD_BUTTON_B) LP = true;
|
if (gc & PAD_BUTTON_B) LP = true;
|
||||||
if (gc & PAD_BUTTON_X) HP = true;
|
if (gc & PAD_BUTTON_Y) HP = true;
|
||||||
// Kick
|
// Kick
|
||||||
if (gc & PAD_BUTTON_B) LK = true;
|
if (gc & PAD_BUTTON_A) LK = true;
|
||||||
if (gc & PAD_BUTTON_X) HK = true;
|
if (gc & PAD_BUTTON_X) HK = true;
|
||||||
// Block
|
// Block
|
||||||
if (gc & PAD_TRIGGER_R) BL = true;
|
if (gc & PAD_TRIGGER_R) BL = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user