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:
Unknown W. Brackets 2015-07-03 11:15:10 -07:00
parent 7dbe2821dc
commit a262f18bd7

View File

@ -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);