Fix input not working for some VS games

This commit is contained in:
retro-wertz
2017-09-06 01:49:32 +08:00
parent d16a301cec
commit 1153b1ef2b

View File

@@ -1052,6 +1052,9 @@ static void FCEUD_UpdateInput(void)
}
}
if (GameInfo->type == GIT_VSUNI)
FCEU_VSUniSwap(&pad[0], &pad[1]);
JSReturn[0] = pad[0] | (pad[1] << 8);
if (input_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2))