The pin moves from 4a8f70a to engine main db7591c. It brings SC3's texture
upscaling (texture_upscale off/2x/4x, texture_filter edge/smooth, in the
Video tab; present-side only) and VP2S's owned handler stacks, where
native callbacks run on the interrupted thread's own stack.
TMB's code uses SP as data in hierTraverseAsm (sp = 0 at 0x1d5450,
restored at 0x1d5718 and 0x1d5734) and in sysSetSp/sysRestoreSp.
runtime/tmb_stack_switch.cpp parks the real SP with the kernel at those
switches and resumes it once restored. Engine PR #85 declares the stack
below TMB's size-0 SetupThread.
The 1P (9,500 frames) and 4P (8,500 frames) headless routes match the
previous pin on every frame's draws, scratchpad, calls, threads and EE
cycles. Sound differs on four menu frames with equal sample counts; RAM
differs because callback frames moved to the game's stack.
Co-Authored-By: Claude Opus 5.5 <[email protected]>