EmuScreen: Fix compile error when enable USE_PROFILER

This commit is contained in:
Mark Zhuang committed 2025-05-21 14:03:05 +08:00
1 parent 7ee53a56e0
commit 9e058078e3
1 file changed
+1 -1
+1 -1
View File
@@ -1923,7 +1923,7 @@ void EmuScreen::renderUI() {
}
#ifdef USE_PROFILER
if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::FRAME_PROFILE && !invalid_) {
if ((DebugOverlay)g_Config.iDebugOverlay == DebugOverlay::FRAME_PROFILE && PSP_IsInited()) {
DrawProfile(*ctx);
}
#endif