aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-04-10 23:12:13 -0500
committergerman77 <juangerman-13@hotmail.com>2022-04-18 01:00:48 -0500
commite14b4ca537f61da7fd2dffe4aacdade729f0322b (patch)
treea1b521017df901537aace3a747e028fdc3f70aab /src/video_core/renderer_base.h
parent094cc7486b9820f92fa01d5e0143bc922a0fc294 (diff)
bootmanager: Don't create another screenshot request if previous one is not done yet
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index c5f9740805..30d19b1782 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -83,6 +83,9 @@ public:
/// Refreshes the settings common to all renderers
void RefreshBaseSettings();
+ /// Returns true if a screenshot is being processed
+ bool IsScreenshotPending() const;
+
/// Request a screenshot of the next frame
void RequestScreenshot(void* data, std::function<void(bool)> callback,
const Layout::FramebufferLayout& layout);