mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 02:39:57 -04:00
The review found that A-11's fix stores the hold after every decision but also logs it then: when the want changed while the worker wrote the profile (frame generation switched on during the first write), rtss_limit.c set_active logged "RivaTuner Statistics Server does the limiting; the game's own limiter stands aside" while the game's limiter was pacing the new want (rtss_limit_active compares the hold with the want), and the kept-out line followed one poll later. set_active still stores the hold every time, so that a want going w, w2 and w again never finds an older hold, but logs a hold only while the want is still the one decided for; a decision that RTSS does not hold the game is logged as before. The next poll logs what holds the newer want. tests/rtss_worker_check.c active_logged switches frame generation on inside the first SaveProfile (a hook in the fake RTSS): no line may say RTSS does the limiting, the next poll logs the kept-out line, and a later limit is held and logged. It fails on the code before this change. Log only; rtss_limit_check passes 27 of 27, active_race included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 KiB
24 KiB