mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Remove Timing from simple frame stats as it's just confusing.
This commit is contained in:
1 parent
7823b68d1d
commit
70117f93a2
1 file changed
+3
-3
+3
-3
@@ -238,8 +238,10 @@ void DrawProfile(UIContext &ui) {
|
||||
total += val;
|
||||
if (val < 0.1f)
|
||||
catStatus[i] = PROFILE_CAT_IGNORE;
|
||||
if (!strcmp(name, "timing"))
|
||||
if (!strcmp(name, "timing")) {
|
||||
timing = val;
|
||||
catStatus[i] = PROFILE_CAT_IGNORE;
|
||||
}
|
||||
if (catStatus[i] == PROFILE_CAT_VISIBLE) {
|
||||
float y = legendStartY + legendNum++ * rowH;
|
||||
ui.DrawTextShadow(name, legendStartX, y, fontABGR, ALIGN_VBASELINE);
|
||||
@@ -247,8 +249,6 @@ void DrawProfile(UIContext &ui) {
|
||||
}
|
||||
}
|
||||
ui.DrawTextShadow("Total:", legendStartX, legendStartY + legendNum * rowH, fontABGR, ALIGN_VBASELINE);
|
||||
ui.DrawTextShadow(StringFromFormat("%.1f%%", total).c_str(), legendStartX + 148, legendStartY + legendNum++ * rowH, fontABGR, ALIGN_VBASELINE);
|
||||
ui.DrawTextShadow("Normal:", legendStartX, legendStartY + legendNum * rowH, fontABGR, ALIGN_VBASELINE);
|
||||
ui.DrawTextShadow(StringFromFormat("%.1f%%", total - timing).c_str(), legendStartX + 148, legendStartY + legendNum * rowH, fontABGR, ALIGN_VBASELINE);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user