mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 17:10:24 -07:00
More accurate FPS measurement
This commit is contained in:
parent
0f5da09916
commit
918177a059
3 changed files with 10 additions and 12 deletions
|
|
@ -290,7 +290,7 @@ public final class Static269 {
|
|||
if (Cheat.displayFps) {
|
||||
@Pc(405) int local405 = arg1 + arg2 - 8;
|
||||
@Pc(412) int local412 = arg0 + arg3 - 5;
|
||||
Fonts.p12Full.renderRight(JagString.concatenate(new JagString[]{Cheat.DEBUG_FPS, Static123.parseInt(GameShell.framesPerSecond)}), local412, local405, 16776960, -1);
|
||||
Fonts.p12Full.renderRight(JagString.concatenate(new JagString[]{Cheat.DEBUG_FPS, Static123.parseInt((int)GameShell.framesPerSecond)}), local412, local405, 16776960, -1);
|
||||
@Pc(434) Runtime runtime = Runtime.getRuntime();
|
||||
@Pc(443) int memory = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L / 1024L);
|
||||
@Pc(445) int color = 16776960;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue