Reset A/V counter when loading/saving a state - will be made
configurable through settings
This commit is contained in:
parent
86410cc3b0
commit
f8fb2bf3dc
|
@ -4388,6 +4388,7 @@ static bool command_event_main_state(unsigned cmd)
|
||||||
{
|
{
|
||||||
case CMD_EVENT_SAVE_STATE:
|
case CMD_EVENT_SAVE_STATE:
|
||||||
content_save_state(state_path, true, false);
|
content_save_state(state_path, true, false);
|
||||||
|
video_driver_monitor_reset();
|
||||||
ret = true;
|
ret = true;
|
||||||
push_msg = false;
|
push_msg = false;
|
||||||
break;
|
break;
|
||||||
|
@ -4402,6 +4403,7 @@ static bool command_event_main_state(unsigned cmd)
|
||||||
#ifdef HAVE_NETWORKING
|
#ifdef HAVE_NETWORKING
|
||||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_LOAD_SAVESTATE, NULL);
|
netplay_driver_ctl(RARCH_NETPLAY_CTL_LOAD_SAVESTATE, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
video_driver_monitor_reset();
|
||||||
}
|
}
|
||||||
push_msg = false;
|
push_msg = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue