loader: VICTORY_HOLD_BYTE debugging aid (hold a title watchdog's pause flag during slow init) #107
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!107
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-107"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@daidalos4 on GitHub · 2026-11-26 16:17 UTC · original
daidalos4:hold-byte→main· +20 −0 · 3 files · 1 commits · merged 2026-11-26 16:38 UTCAdds
VICTORY_HOLD_BYTE=<hex address>:<hex byte>, a debugging aid next toVICTORY_WATCH_MEM: a thread keeps one byte of title memory at a given value, rewritten every 250 ms. It does nothing unless set.Why: the title runs a 30 s init watchdog. With the game files on a network share or a slow disk, init takes longer than that and the run ends before the start screen. On the build we test,
1471b6330:1holds that watchdog's pause flag. With it, my runs from a network share (~1 MB/s cold) reach the start screen, FINISH SETUP and LEGAL NOTICES. The address only fits that build, whichdocs/native-host.mdsays.Changes:
crates/victory-loader/src/native/dump.rs:start_hold_byte()crates/victory-loader/src/native/run.rs: started next tostart_mem_watch()docs/native-host.md: one bulletPairs well with #101 (read cache) for slow storage, but neither depends on the other.
@LakshanSivakumar on GitHub · 2026-11-26 16:38 UTC · original · approved these changes
Off by default behind VICTORY_HOLD_BYTE and documented as build-specific. Merged onto main, loader tests (x86_64), clippy and policy are clean, check is green.