mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Measure flips per second.
This commit is contained in:
1 parent
d085c2bc5f
commit
6ff9cf64ca
2 files changed
+15
-4
No files matched your search
+1
-1
@@ -337,7 +337,7 @@ void EmuScreen::render() {
|
||||
float vps, fps;
|
||||
__DisplayGetFPS(&vps, &fps);
|
||||
char fpsbuf[256];
|
||||
sprintf(fpsbuf, "VPS: %0.1f", vps);
|
||||
sprintf(fpsbuf, "VPS: %0.1f\nFPS: %0.1f", vps, fps);
|
||||
ui_draw2d.DrawText(UBUNTU24, fpsbuf, dp_xres - 8, 12, 0xc0000000, ALIGN_TOPRIGHT);
|
||||
ui_draw2d.DrawText(UBUNTU24, fpsbuf, dp_xres - 10, 10, 0xFF3fFF3f, ALIGN_TOPRIGHT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user