mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Don't draw overlays into screenshots.
Proposed by "Propose Panic" on Discord.
This commit is contained in:
parent
789c7e5032
commit
7479e24481
@ -24,6 +24,8 @@ static inline const char *DeNull(const char *ptr) {
|
||||
return ptr ? ptr : "";
|
||||
}
|
||||
|
||||
extern bool g_TakeScreenshot;
|
||||
|
||||
static const float g_atlasIconSize = 36.0f;
|
||||
static const float extraTextScale = 0.7f;
|
||||
|
||||
@ -236,7 +238,7 @@ static void RenderLeaderboardTracker(UIContext &dc, const Bounds &bounds, const
|
||||
}
|
||||
|
||||
void OnScreenMessagesView::Draw(UIContext &dc) {
|
||||
if (!g_Config.bShowOnScreenMessages) {
|
||||
if (!g_Config.bShowOnScreenMessages || g_TakeScreenshot) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user