mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
memory: fix watchpoint use when fastmem is enabled
This commit is contained in:
parent
0e8f98a441
commit
f1a0ce0e70
@ -383,6 +383,10 @@ struct Memory::Impl {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Settings::IsFastmemEnabled()) {
|
||||||
|
system.DeviceMemory().buffer.Protect(vaddr, size, !debug, !debug);
|
||||||
|
}
|
||||||
|
|
||||||
// Iterate over a contiguous CPU address space, marking/unmarking the region.
|
// Iterate over a contiguous CPU address space, marking/unmarking the region.
|
||||||
// The region is at a granularity of CPU pages.
|
// The region is at a granularity of CPU pages.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user