diff options
author | Liam <byteslice@airmail.cc> | 2023-01-15 16:24:31 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-01-15 16:24:31 +0100 |
commit | f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13 (patch) | |
tree | 944ac5b6fa7591d2b0f921d4b42f4265f8303720 /src | |
parent | Merge pull request #9605 from german77/mouse_mapping (diff) | |
download | yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar.gz yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar.bz2 yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar.lz yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar.xz yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.tar.zst yuzu-f1a0ce0e70bc20d29a2ea5bb4808b5e3466cbc13.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/memory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index a1e41faff..4e605fae4 100644 --- a/src/core/memory.cpp +++ b/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. |