mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +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
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_IMAGEVIEWER
|
#ifdef HAVE_IMAGEVIEWER
|
||||||
if (ret && !state->silence)
|
if ( ret &&
|
||||||
|
!state->silence &&
|
||||||
|
state->history_list_enable &&
|
||||||
|
g_defaults.image_history
|
||||||
|
)
|
||||||
{
|
{
|
||||||
if (
|
if (playlist_push(
|
||||||
state->history_list_enable
|
|
||||||
&& g_defaults.image_history
|
|
||||||
&& playlist_push(
|
|
||||||
g_defaults.image_history,
|
g_defaults.image_history,
|
||||||
state->filename,
|
state->filename,
|
||||||
NULL,
|
NULL,
|
||||||
@ -171,8 +172,7 @@ static void task_screenshot_handler(retro_task_t *task)
|
|||||||
"imageviewer",
|
"imageviewer",
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
)
|
))
|
||||||
)
|
|
||||||
playlist_write_file(g_defaults.image_history);
|
playlist_write_file(g_defaults.image_history);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user