mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
Screenshot code cleanup, fix issue where the notification would be in a second fast screenshot
Fixes #22497
This commit is contained in:
1 parent
c51daff839
commit
7572ac05ca
7 files changed
+9
-16
No files matched your search
@@ -24,8 +24,6 @@ static inline const char *DeNull(const char *ptr) {
|
||||
return ptr ? ptr : "";
|
||||
}
|
||||
|
||||
extern bool g_TakeScreenshot;
|
||||
|
||||
static const float g_atlasIconSize = 36.0f;
|
||||
|
||||
// Align only matters here for the ASCII-only flag.
|
||||
@@ -107,10 +105,6 @@ static void RenderLeaderboardTracker(UIContext &dc, const Bounds &bounds, const
|
||||
}
|
||||
|
||||
void OnScreenMessagesView::Draw(UIContext &dc) {
|
||||
if (g_TakeScreenshot) {
|
||||
return;
|
||||
}
|
||||
|
||||
dc.Flush();
|
||||
|
||||
double now = time_now_d();
|
||||
|
||||
Reference in new issue
Block a user