mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Add persistent pause notification
This commit is contained in:
parent
01bbca9c95
commit
af569e0929
1 changed files with 8 additions and 5 deletions
|
@ -2303,7 +2303,10 @@ bool command_event(enum event_command cmd, void *data)
|
|||
RARCH_LOG("%s\n", msg_hash_to_str(MSG_PAUSED));
|
||||
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))
|
||||
video_driver_cached_frame();
|
||||
|
|
Loading…
Add table
Reference in a new issue