Skip to content

Add the Dynamic FPS Counter: Over 30: green, Below 30: Yellow, Below 20: Red.#582

Draft
jacojayy wants to merge 4 commits into
WinNative-Emu:mainfrom
jacojayy:dynamic-fps-counter-color
Draft

Add the Dynamic FPS Counter: Over 30: green, Below 30: Yellow, Below 20: Red.#582
jacojayy wants to merge 4 commits into
WinNative-Emu:mainfrom
jacojayy:dynamic-fps-counter-color

Conversation

@jacojayy

@jacojayy jacojayy commented Jun 27, 2026

Copy link
Copy Markdown
  • FrameRating.java — FPS text, frametime numeric text, and the frametime graph line now use a new fpsColor() helper that returns:

  • Green (C_FPS_OK) when FPS ≥ 30

  • Yellow (C_WARM) when 20 ≤ FPS < 30

  • Red (C_HOT) when FPS < 20

  • PerformanceHud.kt — The Compose overlay's FPS gauge ring and
    frametime (ms) gauge ring use the same threshold logic via fpsColor():

  • Green: ≥ 30 FPS

  • Yellow: 20–30 FPS

  • Red: < 20 FPS

No FPS calculation, layout, or logic was touched — only the color selection.

@Xnick417x Xnick417x marked this pull request as draft June 29, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants