summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-27 17:04:26 +0100
committerGitHub <noreply@github.com>2018-12-27 17:04:26 +0100
commit7477c12fe289df224fdcd3465809aeca37630232 (patch)
tree7bfa8e958bfe03280d74281bee981910dd3b332f /src
parentMerge pull request #1879 from DarkLordZach/am-save-data-size (diff)
parentkernel/vm_manager: Reset region attributes when unmapping a VMA (diff)
downloadyuzu-7477c12fe289df224fdcd3465809aeca37630232.tar
yuzu-7477c12fe289df224fdcd3465809aeca37630232.tar.gz
yuzu-7477c12fe289df224fdcd3465809aeca37630232.tar.bz2
yuzu-7477c12fe289df224fdcd3465809aeca37630232.tar.lz
yuzu-7477c12fe289df224fdcd3465809aeca37630232.tar.xz
yuzu-7477c12fe289df224fdcd3465809aeca37630232.tar.zst
yuzu-7477c12fe289df224fdcd3465809aeca37630232.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index f39e096ca..10ad94aa6 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -190,6 +190,7 @@ VMManager::VMAIter VMManager::Unmap(VMAIter vma_handle) {
vma.type = VMAType::Free;
vma.permissions = VMAPermission::None;
vma.state = MemoryState::Unmapped;
+ vma.attribute = MemoryAttribute::None;
vma.backing_block = nullptr;
vma.offset = 0;