From a262f18bd7facfade926ad1c20feba25b30e785a Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 3 Jul 2015 11:15:10 -0700 Subject: [PATCH] Fix profiler labels when skipping UI. Example: adb shell am start -n org.ppsspp.ppsspp/.PpssppActivity -e org.ppsspp.ppsspp.Shortcuts /storage/emulated/0/gamefile.cso --- UI/DevScreens.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/DevScreens.cpp b/UI/DevScreens.cpp index 7b44a1f420..623f990692 100644 --- a/UI/DevScreens.cpp +++ b/UI/DevScreens.cpp @@ -810,6 +810,8 @@ void DrawProfile(UIContext &ui) { int numCategories = Profiler_GetNumCategories(); int historyLength = Profiler_GetHistoryLength(); + ui.SetFontStyle(ui.theme->uiFont); + float legendWidth = 80.0f; for (int i = 0; i < numCategories; i++) { const char *name = Profiler_GetCategoryName(i);