Browse Source
Merge pull request #9623 from liamwhite/wp-oops
memory: fix watchpoint use when fastmem is enabled
pull/15/merge
bunnei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/core/memory.cpp
|
|
|
@ -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.
|
|
|
|
|
|
|
|
|