diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-04 00:10:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 00:10:22 +0200 |
commit | a661c547d8defb589415cbf4c42999830832cceb (patch) | |
tree | cf5fb160e22a6f0c57c2ef0080735677538c9a01 /src/video_core/memory_manager.h | |
parent | Merge pull request #10117 from liamwhite/sync-register (diff) | |
parent | QueryCache: Fix write invalidation. (diff) | |
download | yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.gz yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.bz2 yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.lz yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.xz yuzu-a661c547d8defb589415cbf4c42999830832cceb.tar.zst yuzu-a661c547d8defb589415cbf4c42999830832cceb.zip |
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r-- | src/video_core/memory_manager.h | 4 |
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; |