Merge agent/perf: write-combined title memory without write-back (VICTORY_WC_NO_BACK), in mapped VRAM (VICTORY_WC_BAR)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
readmet3xt-labandClaude Opus 5.5 committed 2026-11-26 19:15:50 +05:30
commit 717687b43f
5 files changed
+230 -3

No files matched your search

+4
View File
@@ -180,6 +180,10 @@ pub extern "system" fn XMemVirtualAlloc(
if !at.is_null() && !placeholder {
victory_gpu::title_memory_allocated(at as usize, size);
}
// Write-combined: memory the title's CPU writes and does not read.
if !at.is_null() && asked & 0x400 != 0 {
victory_gpu::title_memory_write_combined(at as usize, size);
}
note_protection(asked, kind, flags, at as usize, size);
at
}