From 0034492151f1294098eae4206fb40ea7aa2e7912 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 24 Jun 2015 21:44:38 -0400 Subject: [PATCH] Add an OSD notification for screenshot saving --- Source/Core/VideoBackends/OGL/Render.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 6efdd7fd40..42fce1ab37 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -1506,7 +1506,10 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co if (s_bScreenshot) { std::lock_guard lk(s_criticalScreenshot); - SaveScreenshot(s_sScreenshotName, flipped_trc); + + if (SaveScreenshot(s_sScreenshotName, flipped_trc)) + OSD::AddMessage("Screenshot saved to " + s_sScreenshotName); + // Reset settings s_sScreenshotName.clear(); s_bScreenshot = false;