From 56e462ab72c365e85d24f61c7529e7fa2b4bd375 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 4 Aug 2008 16:03:18 +0000 Subject: [PATCH] fix the fix for the lua player2 fix --- src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.cpp b/src/input.cpp index 375990bd..1d435ab9 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -190,7 +190,7 @@ static void UpdateGP(int w, void *data, int arg) if(w==0) { joy[0]= FCEU_LuaUsingJoypad(0) ? FCEU_LuaReadJoypad(0) : *(uint32 *)joyports[0].ptr; - joy[2]= FCEU_LuaUsingJoypad(2) ? FCEU_LuaReadJoypad(0) : *(uint32 *)joyports[0].ptr >> 16; + joy[2]= FCEU_LuaUsingJoypad(2) ? FCEU_LuaReadJoypad(2) : *(uint32 *)joyports[0].ptr >> 16; } else {