Textures shaders write that the title reads on the CPU are copied back into title memory (from fxceless f5c03f3b, pull request 999: Geckomacabre 895c0b8f, 04df4350); on by default

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 15:31:36 -06:00
1 parent 30f7859baf
commit 23925a4aa2
6 files changed
+383 -6

No files matched your search

+2
View File
@@ -2317,6 +2317,7 @@ pub fn title_memory_reading_now() -> Option<Reading> {
/// neither guarded nor writable) and a kernel read into it fail, so the
/// write access is given back.
pub fn title_memory_remapped(at: usize, len: usize) {
crate::texback::remapped(at, len);
open(&mut title_memory_changed(at, len), at, at.saturating_add(len));
}
@@ -2326,6 +2327,7 @@ pub fn title_memory_remapped(at: usize, len: usize) {
/// before the unmapping would leave the address guarded, clean and known by
/// its bits ([`PUBLISHED`]) with no view behind it.
pub fn title_memory_unmapping(at: usize, len: usize) {
crate::texback::remapped(at, len);
let mut g = title_memory_changed(at, len);
if CHANGING.get().0 && len != 0 {
CHANGING.set((true, true));