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

@@ -98,8 +98,11 @@ static void FP_FASTAPASS(3) UpdateGP(int w, void *data, int arg) {
if (FCEUnetplay) NetplayUpdate(joy);
#endif
FCEUMOV_AddJoy(joy);
if (GameInfo->type == GIT_VSUNI)
#ifdef __LIBRETRO__
#else
if (GameInfo->type == GIT_VSUNI) /* moved to libretro.c */
FCEU_VSUniSwap(&joy[0], &joy[1]);
#endif
}
static INPUTC GPC = { ReadGP, 0, StrobeGP, UpdateGP, 0, 0 };