mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Refactor overlays into an enum
This commit is contained in:
1 parent
7538807ee7
commit
fc6879674e
13 files changed
+95
-77
No files matched your search
+1
-1
@@ -92,7 +92,7 @@ static void CalculateFPS() {
|
||||
}
|
||||
}
|
||||
|
||||
if (g_Config.bDrawFrameGraph || coreCollectDebugStats) {
|
||||
if (g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
frameTimeHistory[frameTimeHistoryPos++] = now - lastFrameTimeHistory;
|
||||
lastFrameTimeHistory = now;
|
||||
frameTimeHistoryPos = frameTimeHistoryPos % frameTimeHistorySize;
|
||||
|
||||
Reference in new issue
Block a user