The title's timer steps its time sets by the measured QueryPerformanceCounter
delta, but held to at least the nominal frame time (1 / its 30 fps target)
and at most a 1/15 s constant (+0x2226040, and the camera's set in
+0x22264d0). The step is real only between 15 and 30 fps: above 30 the
world runs fps/30 too fast (the console's doubled speed when a glitch
doubles the frame rate), below 15 at fps/15 of real time (0.10-0.15 in
VIctory's 1.5 fps world).
src/frame_step.h moves the floor's two loads to the timer's own minimum
step (1/3000 s) and the cap's two loads to its 1.0 constant, after checking
all four loads and both targets hold the 1.0.2.1 bytes; main.cpp applies it
before any title code runs. LEONIDA_TIME_STEP=stock keeps the title's step.
The same patch written into VIctory's running title gave game time at 1.000
of real time at 30 and 70 fps and over every world frame under 1 s.
frame_step_test checks the plan, the step it gives from 1 to 1000 fps,
refusals on other bytes, the switch, and apply_to_image on a mapped stand-in
whose loads share a page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>