summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-05-03 19:36:18 +0200
committerLioncash <mathew1800@gmail.com>2020-05-03 19:36:20 +0200
commita2e61e6542d55c9c6e416b8974264018bf5e726f (patch)
treef4dfce36a6206b06407c6b61643da2f28e16c5e8 /src/core
parentkernel/memory: Make use of std::array consistently in address_space_info (diff)
downloadyuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar.gz
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar.bz2
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar.lz
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar.xz
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.tar.zst
yuzu-a2e61e6542d55c9c6e416b8974264018bf5e726f.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/memory/memory_block_manager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/memory/memory_block_manager.cpp b/src/core/hle/kernel/memory/memory_block_manager.cpp
index 900395c37..0732fa5a1 100644
--- a/src/core/hle/kernel/memory/memory_block_manager.cpp
+++ b/src/core/hle/kernel/memory/memory_block_manager.cpp
@@ -67,7 +67,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState p
MemoryPermission prev_perm, MemoryAttribute prev_attribute,
MemoryState state, MemoryPermission perm,
MemoryAttribute attribute) {
- const std::size_t prev_count{memory_block_tree.size()};
const VAddr end_addr{addr + num_pages * PageSize};
iterator node{memory_block_tree.begin()};
@@ -109,7 +108,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState p
void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState state,
MemoryPermission perm, MemoryAttribute attribute) {
- const std::size_t prev_count{memory_block_tree.size()};
const VAddr end_addr{addr + num_pages * PageSize};
iterator node{memory_block_tree.begin()};
@@ -145,7 +143,6 @@ void MemoryBlockManager::Update(VAddr addr, std::size_t num_pages, MemoryState s
void MemoryBlockManager::UpdateLock(VAddr addr, std::size_t num_pages, LockFunc&& lock_func,
MemoryPermission perm) {
- const std::size_t prev_count{memory_block_tree.size()};
const VAddr end_addr{addr + num_pages * PageSize};
iterator node{memory_block_tree.begin()};