Fix for vsunisystem input not working

This commit is contained in:
retro-wertz
2017-09-08 02:13:11 +08:00
parent 8a5ae2da21
commit 8be0835eed
5 changed files with 11 additions and 5 deletions

View File

@@ -1053,10 +1053,7 @@ static void FCEUD_UpdateInput(void)
}
if (GameInfo->type == GIT_VSUNI)
FCEU_VSUniSwap(&pad[0], &pad[1]); /* TODO: Incomplete! Some
* non-zapper/gun game
* still has no input.
*/
FCEU_VSUniSwap(&pad[0], &pad[1]);
JSReturn[0] = pad[0] | (pad[1] << 8);