diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-29 23:03:09 -0500 |
|---|---|---|
| committer | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-29 23:03:09 -0500 |
| commit | 1fb8c4bfef2beb4dcff4665ac40b4e9678930391 (patch) | |
| tree | 2d87659a4797bbeb3a8817af4cfd64336e9e36bd /runtime/src/xma2_decoder.cpp | |
| parent | 54374cf53e0f66d2d5c744e8dd7b678d96cb141e (diff) | |
Live prompts: sentinels made at run time, counters, PlayStation on top
The first run in the title found four copies of lnLo/lnFamily/lnHi eight
bytes apart, wrote them on every switch, and the prompts stayed keyboard.
The sentinels were the slots' defaults, so a template of defaults could
match, and the keyboard pieces were drawn over the PlayStation ones, so
code that never ran looked like writes that missed.
- Main's static initialiser now computes lnLo and lnHi (half of each
sentinel times 2) before its own code: no copy of the movie or of a
slot default holds them.
- lnMade (prompts made) and lnShown (pictures switched) follow lnHi; the
runtime reads them through the found layout and logs them when found,
on each write and every 30 s. A find needs whole numbers there and must
not lie inside a copy of the movie; both rejects are counted.
- Sprites place the keyboard pieces first and the PlayStation pieces on
top (the first named p): if the code does not run, prompts look
PlayStation on every device.
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions