memory: fix watchpoint use when fastmem is enabled
This commit is contained in:
parent
c45b1d8723
commit
0279b94a9e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue