diff options
| author | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-01 15:42:12 -0500 |
|---|---|---|
| committer | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-01 15:42:12 -0500 |
| commit | f8d38607b6cf6e35ee3daad7e34e590e19421c79 (patch) | |
| tree | 2dc8436f776cf7803c8f4cbb7bb08049bf3e04a4 /src/core/debugger/gdbstub.cpp | |
| parent | 68f8d96368505a6146d5cf545463e06469b6e7b8 (diff) | |
nx2:vi2: pace presents by their swap interval
Present word 12 holds (swap interval << 16) | refresh rate. Presents were
always held to the next 60 Hz vblank, so Fire Emblem: Fortune's Weave,
which sends 0x2003c (interval 2) after its boot logos, ran at 60 fps and
double speed instead of 30.
Pace each present by its interval and rate (interval clamped to 1-4, rate
60 if outside 30-240 Hz) and log when the word changes.
EDEN_NX2_SWAP_INTERVAL=<n> forces the interval.
Assisted-by: Claude Opus 5.5 (debugging, implementation and drafting)
Signed-off-by: duck912 <350528965+Duck912@users.noreply.github.com>
Diffstat (limited to 'src/core/debugger/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions
