Skip to content

Commit

Permalink
rallyx, set to 4way inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Sep 3, 2024
1 parent 09f3961 commit 996934a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/burn/drv/pre90s/d_rallyx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ static struct BurnDIPInfo CommsegaDIPList[]=

STDDIPINFO(Commsega)

static inline void DrvMakeInputs()
static inline void DrvMakeInputs() // rallyx
{
// Reset Inputs
DrvInput[0] = 0xff;
Expand All @@ -422,6 +422,9 @@ static inline void DrvMakeInputs()
DrvInput[0] ^= (DrvInputPort0[i] & 1) << i;
DrvInput[1] ^= (DrvInputPort1[i] & 1) << i;
}

ProcessJoystick(&DrvInput[0], 0, 5,4,2,3, INPUT_4WAY | INPUT_ISACTIVELOW);
ProcessJoystick(&DrvInput[1], 1, 5,4,2,3, INPUT_4WAY | INPUT_ISACTIVELOW);
}

static inline void JunglerMakeInputs()
Expand Down

0 comments on commit 996934a

Please sign in to comment.