mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Cleanup
This commit is contained in:
parent
bf8cfe4123
commit
ca616f3e32
@ -158,12 +158,13 @@ static void task_screenshot_handler(retro_task_t *task)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_IMAGEVIEWER
|
||||
if (ret && !state->silence)
|
||||
if ( ret &&
|
||||
!state->silence &&
|
||||
state->history_list_enable &&
|
||||
g_defaults.image_history
|
||||
)
|
||||
{
|
||||
if (
|
||||
state->history_list_enable
|
||||
&& g_defaults.image_history
|
||||
&& playlist_push(
|
||||
if (playlist_push(
|
||||
g_defaults.image_history,
|
||||
state->filename,
|
||||
NULL,
|
||||
@ -171,8 +172,7 @@ static void task_screenshot_handler(retro_task_t *task)
|
||||
"imageviewer",
|
||||
NULL,
|
||||
NULL
|
||||
)
|
||||
)
|
||||
))
|
||||
playlist_write_file(g_defaults.image_history);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user