Offer the keep-running-out-of-focus switch in the Game tab

The game pauses whenever its window loses focus, as it does on the Switch when Home is pressed, and ASSUME_FOCUS was the
only way to change that: a known key with no row in the settings table. The runtime reads it at each focus change rather
than once at start, so the row takes effect the next time the window is left, and the build guide says what an unfocused
window now does.
This commit is contained in:
shenjack committed 2026-10-31 16:50:32 +08:00
1 parent adf9c768c3
commit e4eef8ae0c
7 files changed
+24 -12

No files matched your search

+3
View File
@@ -102,6 +102,9 @@
# here. Changes while the game runs take effect at once.
# window_size = 1920x1080
# fullscreen = 0
# The game pauses when its window loses focus, as it does on the Switch when Home is pressed. 1 keeps it running while
# you are in another window; the keyboard stays quiet until the window is in front again. Read at each focus change.
# assume_focus = 0
# Performance overlay in the top right corner: off, fps, or full (frame rate, mean and longest frame time). F10
# cycles the modes in game.
# perf_overlay = off