Skip to content

Commit

Permalink
3rdParty: apply 'Disable VRU during netplay' patch to mupen64plus-core
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Dec 25, 2024
1 parent 9602aa2 commit c6480e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/3rdParty/mupen64plus-core/src/main/netplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,9 @@ void netplay_read_registration(struct controller_input_compat* cin_compats)
{
reg_id = SDLNet_Read32(&input_data[curr]);
curr += 4;

Controls[i].Type = CONT_TYPE_STANDARD; //make sure VRU is disabled

if (reg_id == 0) //No one registered to control this player
{
Controls[i].Present = 0;
Expand Down

0 comments on commit c6480e2

Please sign in to comment.