mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 09:48:27 +00:00
parent
2b6d453dfa
commit
cf0c60bb98
@ -1623,13 +1623,6 @@ bool netplay_driver_ctl(enum rarch_netplay_ctl_state state, void *data)
|
||||
netplay_flip_users(netplay_data);
|
||||
}
|
||||
break;
|
||||
case RARCH_NETPLAY_CTL_FULLSCREEN_TOGGLE:
|
||||
{
|
||||
bool *state = (bool*)data;
|
||||
if (*state)
|
||||
command_event(CMD_EVENT_FULLSCREEN_TOGGLE, NULL);
|
||||
}
|
||||
break;
|
||||
case RARCH_NETPLAY_CTL_PAUSE:
|
||||
netplay_frontend_paused(netplay_data, true);
|
||||
break;
|
||||
|
@ -32,7 +32,6 @@ enum rarch_netplay_ctl_state
|
||||
{
|
||||
RARCH_NETPLAY_CTL_NONE = 0,
|
||||
RARCH_NETPLAY_CTL_FLIP_PLAYERS,
|
||||
RARCH_NETPLAY_CTL_FULLSCREEN_TOGGLE,
|
||||
RARCH_NETPLAY_CTL_POST_FRAME,
|
||||
RARCH_NETPLAY_CTL_PRE_FRAME,
|
||||
RARCH_NETPLAY_CTL_ENABLE_SERVER,
|
||||
|
@ -956,7 +956,6 @@ static enum runloop_state runloop_check_state(
|
||||
tmp = runloop_cmd_triggered(trigger_input, RARCH_NETPLAY_FLIP);
|
||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_FLIP_PLAYERS, &tmp);
|
||||
tmp = runloop_cmd_triggered(trigger_input, RARCH_FULLSCREEN_TOGGLE_KEY);
|
||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_FULLSCREEN_TOGGLE, &tmp);
|
||||
#endif
|
||||
|
||||
/* Check if libretro pause key was pressed. If so, pause or
|
||||
|
Loading…
Reference in New Issue
Block a user