mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
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
This commit is contained in:
parent
7dbe2821dc
commit
a262f18bd7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user