Docs: the hang watchdog's 30 ticks and quit flag (#1428), followed in #628

The watchdog ends the game when its heartbeat has not changed for 30
one-second ticks; #1428 found the loop and its quit flag, which a
diagnostics build can set with VICTORY_POKE to see what a stall turns into.
The maintainer follows these stalls in #628. #1419 is another report.
This commit is contained in:
Manley.B
2026-11-29 07:43:44 +11:00
parent ab2873e9c3
commit 05bd98444c

View File

@ -86,13 +86,16 @@ that.
- **What you see:** a write to address 0 on a thread of the game's own (its
thread starts at `+0x2215eca`). Before it, frames stop coming for 10 seconds or
more: the picture freezes, and the sound may go on.
- **What it is:** the game crashes on purpose when it has made no frame for a
while (#846). It shows what stalled, not why.
- **What it is:** the game crashes on purpose when its main loop's heartbeat
has not changed for 30 one-second ticks (#1428 found the loop). It shows what
stalled, not why.
- **What to do:** if it happens on the first start after a new `victory.exe`,
the shaders are most likely being made again. Run F1, PRELOAD SHADERS (or
`victory.exe play --preload`) once. Stalls in play are tracked in #846 and
#990.
- **Reports:** #846, #990, #1031, #1100, #1180, #1221.
`victory.exe play --preload`) once. The maintainer follows these stalls in
#628, and #846 and #990 hold more of them. To see what the stall turns into,
a diagnostics build can keep the game going through it:
`--set VICTORY_POKE=71b6340:1` sets the watchdog's quit flag (#1428).
- **Reports:** #628, #846, #990, #1031, #1100, #1180, #1221, #1419.
## `+0x3e42541`: after the title screen