Proper fix for VS Unisystem input not working with some games.
This commit is contained in:
@@ -199,11 +199,6 @@ static void FP_FASTAPASS(3) UpdateGP(int w, void *data, int arg) {
|
||||
if (FCEUnetplay) NetplayUpdate(joy);
|
||||
#endif
|
||||
FCEUMOV_AddJoy(joy);
|
||||
#ifdef __LIBRETRO__
|
||||
#else
|
||||
if (GameInfo->type == GIT_VSUNI) /* moved to libretro.c */
|
||||
FCEU_VSUniSwap(&joy[0], &joy[1]);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void FP_FASTAPASS(1) StrobeGP(int w) {
|
||||
@@ -231,6 +226,9 @@ void FCEU_UpdateInput(void)
|
||||
|
||||
if (GameInfo && GameInfo->type == GIT_VSUNI)
|
||||
if (coinon) coinon--;
|
||||
|
||||
if (GameInfo->type == GIT_VSUNI) /* moved to libretro.c */
|
||||
FCEU_VSUniSwap(&joy[0], &joy[1]);
|
||||
}
|
||||
|
||||
static DECLFR(VSUNIRead0)
|
||||
|
||||
Reference in New Issue
Block a user