fix the fix for the lua player2 fix

This commit is contained in:
zeromus 2008-08-04 16:03:18 +00:00
parent 0fd76158a0
commit 56e462ab72
1 changed files with 1 additions and 1 deletions

View File

@ -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
{