From e0989d0b9efab81bb7e63a5e3a2940360de2e7a2 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 11 Dec 2016 12:30:20 -0500 Subject: [PATCH] make state screenshots non-gpu --- tasks/task_screenshot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index d80479cac2..70a5635db4 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -325,6 +325,9 @@ static bool take_screenshot_choice(const char *name_base, bool savestate) && string_is_empty(name_base)) return false; + if (savestate) + return take_screenshot_raw(name_base, NULL, savestate); + if (video_driver_supports_viewport_read()) { /* Avoid taking screenshot of GUI overlays. */