mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix logically dead code warning
This commit is contained in:
parent
e74853750b
commit
da891b97b2
@ -2385,17 +2385,14 @@ bool command_event(enum event_command cmd, void *data)
|
||||
|
||||
if (is_paused)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
RARCH_LOG("%s\n", msg_hash_to_str(MSG_PAUSED));
|
||||
command_event(CMD_EVENT_AUDIO_STOP, NULL);
|
||||
|
||||
runloop_msg_queue_push(msg_hash_to_str(MSG_PAUSED), 1,
|
||||
is_paused ? 1: 30, true);
|
||||
1, true);
|
||||
|
||||
if (settings->video.black_frame_insertion || is_paused)
|
||||
if (!is_idle)
|
||||
video_driver_cached_frame();
|
||||
if (is_paused && !is_idle)
|
||||
video_driver_cached_frame();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user