mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu
This commit is contained in:
1 parent
8ef781faff
commit
a32249a3cf
15 files changed
+50
-27
No files matched your search
@@ -496,7 +496,7 @@ static void DoFrameIdleTiming() {
|
||||
#endif
|
||||
}
|
||||
|
||||
if (g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
DisplayNotifySleep(time_now_d() - before);
|
||||
}
|
||||
}
|
||||
@@ -662,7 +662,7 @@ void __DisplayFlip(int cyclesLate) {
|
||||
CoreTiming::ScheduleEvent(0 - cyclesLate, afterFlipEvent, 0);
|
||||
numVBlanksSinceFlip = 0;
|
||||
|
||||
if (g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
// Track how long we sleep (whether vsync or sleep_ms.)
|
||||
DisplayNotifySleep(time_now_d() - frameSleepStart, frameSleepPos);
|
||||
}
|
||||
@@ -726,7 +726,7 @@ void hleLagSync(u64 userdata, int cyclesLate) {
|
||||
const int over = (int)((now - goal) * 1000000);
|
||||
ScheduleLagSync(over - emuOver);
|
||||
|
||||
if (g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::FRAME_GRAPH || coreCollectDebugStats) {
|
||||
DisplayNotifySleep(now - before);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user