diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-25 01:00:37 -0500 |
|---|---|---|
| committer | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-25 01:00:37 -0500 |
| commit | f0611b752fd2c7b52f25688be7d6c17909ee3533 (patch) | |
| tree | b33bba16c7c872448d9ed0224402b075fb770a4d /runtime/src/vulkan_aftermath.cpp | |
| parent | 3f220075079a3d21d91bd21bf19e1d3122697eff (diff) | |
Remove the title's executable addresses #984 brought in; read them from the environment
#984 (273b3bdf9) put RVAs and file offsets of the retail executable into code, docs and scripts.
The code paths that need one now read it from an environment variable and are off when it is
unset; the docs and examples say the location is measured locally.
- runtime/src/main.cpp: the hang-watchdog kick takes its trap and kick RVAs from
LEONIDA_TITLE_WATCHDOG_KICK="<trap RVA>,<kick RVA>" (hex), still only when the trap
instruction is at the first one. Unset, the watchdog stays armed, as before by default;
LEONIDA_TITLE_WATCHDOG=1 keeps it armed, and LEONIDA_TITLE_WATCHDOG=0 without the RVAs says
once that it needs them. The LEONIDA_PEEK example uses placeholders.
- runtime/shims/startup_trace.h: the transient-pool dump fires at the int3 that
LEONIDA_POOL_DIAG_AT names (`<module>+0x<offset>`, as the trace prints it), off when unset.
- scripts/windows-boot/boot.ps1: LEONIDA_PEEK's default comes from LEONIDA_GAME_STATE_RVA and
LEONIDA_SESSION_STATE_RVA (no peek when unset), and the RESULT digest matches those values;
the examples and README use placeholders.
- runtime/README.md documents LEONIDA_TITLE_WATCHDOG_KICK and LEONIDA_POOL_DIAG_AT.
- docs/fspx.md, docs/d3d12_vulkan.md, docs/movies.md, docs/embedded_shaders.md and a comment in
runtime/shims/d3d12_xs_alloc_size.h drop the addresses and offsets.
This follows the same change on the earlier integration branch (#1495).
Diffstat (limited to 'runtime/src/vulkan_aftermath.cpp')
0 files changed, 0 insertions, 0 deletions