summaryrefslogtreecommitdiffstats
path: root/src/video_core/memory_manager.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-04-28 23:53:02 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-04-28 23:53:02 +0200
commit9a7c172f76007324d72d107acc01c64e41d53820 (patch)
tree7eb2c130591c5f450e65b03af26680877e88394d /src/video_core/memory_manager.h
parentClang format and ddress feedback (diff)
downloadyuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar.gz
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar.bz2
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar.lz
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar.xz
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.tar.zst
yuzu-9a7c172f76007324d72d107acc01c64e41d53820.zip
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r--src/video_core/memory_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h
index fbbe856c4..794535122 100644
--- a/src/video_core/memory_manager.h
+++ b/src/video_core/memory_manager.h
@@ -5,6 +5,7 @@
#include <atomic>
#include <map>
+#include <mutex>
#include <optional>
#include <vector>
@@ -215,6 +216,9 @@ private:
std::vector<u64> big_page_continuous;
std::vector<std::pair<VAddr, std::size_t>> page_stash{};
+ std::vector<std::pair<VAddr, std::size_t>> page_stash2{};
+
+ mutable std::mutex guard;
static constexpr size_t continuous_bits = 64;