From 489a5b9ac6874f043b4103dd5833853a0dfbb47f Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 15 Jun 2023 13:43:53 +0200 Subject: [PATCH] Fix MSVC2010 warning --- tasks/task_screenshot.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index 7f6845764f..e3ff55aa42 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -577,10 +577,14 @@ bool take_screenshot( ret = take_screenshot_choice( video_st, screenshot_dir, - name_base, savestate, runloop_flags, - has_valid_framebuffer, fullpath, use_thread, + name_base, + savestate, + runloop_flags, + has_valid_framebuffer, + fullpath, + use_thread, prefer_viewport_read, - (video_st->current_video->read_frame_raw), + (video_st->current_video->read_frame_raw != NULL), video_st->pix_fmt );