The qstamp patch set is switched off when sync_ahead is refused, so TOTK_SYNC_AHEAD=1 without shadow storage leaves the game's depth query check as it was

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-18 18:55:12 +03:00
1 parent ee6d5a6183
commit bc579c62e8
1 file changed
+3
+3
View File
@@ -511,6 +511,9 @@ static int sync_ahead(void) {
"GPU as before");
on = 0;
}
// The depth query patch (set qstamp, patches-v143.txt) is switched by TOTK_SYNC_AHEAD too: a refused switch
// leaves the game's own frame number check, as with the switch off.
if (!on) rt_patch_switch(rt_patch_set("qstamp"), 0);
if (on) rt_log("nvn: TOTK_SYNC_AHEAD: a wait for the frame presented last waits for the frame before it");
}
return on;