Fix Netplay fullscreen issue

Fixes #3936
This commit is contained in:
Diego Viola 2016-11-07 14:13:45 -02:00
parent 2b6d453dfa
commit cf0c60bb98
3 changed files with 0 additions and 9 deletions

View File

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

View File

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

View File

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