Back color configurable, added fps counter checkbox

This commit is contained in:
2026-03-28 13:31:41 +01:00
parent 5e862f8c0b
commit eff03e0e1a
4 changed files with 32 additions and 15 deletions

View File

@@ -136,6 +136,19 @@ namespace SplashEdit.EditorCode
set => EditorPrefs.SetBool(Prefix + "MemoryOverlay", value);
}
// --- FPS Overlay ---
/// <summary>
/// When enabled, compiles the runtime with an FPS counter
/// and text overlay at the top-left corner of the screen.
/// Passes FPSOVERLAY=1 to the native Makefile.
/// </summary>
public static bool FpsOverlay
{
get => EditorPrefs.GetBool(Prefix + "FpsOverlay", false);
set => EditorPrefs.SetBool(Prefix + "FpsOverlay", value);
}
// --- Export settings ---
public static float DefaultGTEScaling
{