1
0
Fork 0
forked from suyu/suyu

memory: fix watchpoint use when fastmem is enabled

This commit is contained in:
Liam 2023-01-15 10:24:31 -05:00
parent 0e8f98a441
commit f1a0ce0e70

View file

@ -383,6 +383,10 @@ struct Memory::Impl {
return;
}
if (Settings::IsFastmemEnabled()) {
system.DeviceMemory().buffer.Protect(vaddr, size, !debug, !debug);
}
// Iterate over a contiguous CPU address space, marking/unmarking the region.
// The region is at a granularity of CPU pages.