summaryrefslogtreecommitdiffstats
path: root/src/video_core/memory_manager.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-06-16 02:12:21 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:53 +0200
commitfe24c65153349d3a759a2eef02ec703851a96847 (patch)
tree68148597dbb554d427ce43a660c88c28fc9545bb /src/video_core/memory_manager.cpp
parentCommon: Fix variable shadowing. (diff)
downloadyuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.gz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.bz2
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.lz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.xz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.zst
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.zip
Diffstat (limited to 'src/video_core/memory_manager.cpp')
-rw-r--r--src/video_core/memory_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp
index 3cb2d9224..cca401c74 100644
--- a/src/video_core/memory_manager.cpp
+++ b/src/video_core/memory_manager.cpp
@@ -619,7 +619,6 @@ bool MemoryManager::IsContinousRange(GPUVAddr gpu_addr, std::size_t size) const
}
bool MemoryManager::IsFullyMappedRange(GPUVAddr gpu_addr, std::size_t size) const {
- std::optional<VAddr> old_page_addr{};
bool result{true};
auto fail = [&]([[maybe_unused]] std::size_t page_index, [[maybe_unused]] std::size_t offset,
[[maybe_unused]] std::size_t copy_amount) {