Skip to content

Commit

Permalink
L2R2 ggpo support
Browse files Browse the repository at this point in the history
  • Loading branch information
inada-s committed Jul 31, 2023
1 parent 40bba99 commit 60b0f43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/network/ggpo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,10 @@ bool nextFrame()
{
inputs.exInput = localExInput;
}
if (gdxsv_enabled()) {
if (lt2[0] >= 64) inputs.kcode |= DC_BTN_A | DC_BTN_X;
if (rt2[0] >= 64) inputs.kcode |= DC_BTN_A | DC_BTN_Y;
}
error = ggpo_add_local_input(ggpoSession, localPlayer, &inputs, inputSize);
if (error == GGPO_OK)
{
Expand Down

0 comments on commit 60b0f43

Please sign in to comment.