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

+2 -1
View File
@@ -104,7 +104,8 @@ From the repository root, in PowerShell. Every step that depends on the game ver
The AMD driver keeps its pipeline cache per exe path and holds a limited amount: preparing another build folder can
evict this one's. `totk.exe --warm-shaders` rebuilds it from the shader cache.
7. Run. Keep the window in the foreground; an unfocused window stalls the game.
7. Run. The game pauses while its window is out of focus, as it does on the Switch when Home is pressed;
`assume_focus = 1` in `totk.ini`, or the Game tab, keeps it running in another window.
```powershell
build\<ver>\totk.exe