Add persistent pause notification
This commit is contained in:
parent
01bbca9c95
commit
af569e0929
|
@ -2303,7 +2303,10 @@ bool command_event(enum event_command cmd, void *data)
|
||||||
RARCH_LOG("%s\n", msg_hash_to_str(MSG_PAUSED));
|
RARCH_LOG("%s\n", msg_hash_to_str(MSG_PAUSED));
|
||||||
command_event(CMD_EVENT_AUDIO_STOP, NULL);
|
command_event(CMD_EVENT_AUDIO_STOP, NULL);
|
||||||
|
|
||||||
if (settings->video.black_frame_insertion)
|
bool is_paused = runloop_ctl(RUNLOOP_CTL_IS_PAUSED, NULL);
|
||||||
|
runloop_msg_queue_push(msg_hash_to_str(MSG_PAUSED), 1, is_paused ? 1: 30, true);
|
||||||
|
|
||||||
|
if (settings->video.black_frame_insertion || is_paused)
|
||||||
{
|
{
|
||||||
if (!runloop_ctl(RUNLOOP_CTL_IS_IDLE, NULL))
|
if (!runloop_ctl(RUNLOOP_CTL_IS_IDLE, NULL))
|
||||||
video_driver_cached_frame();
|
video_driver_cached_frame();
|
||||||
|
|
Loading…
Reference in New Issue