summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_accelerated.h
diff options
context:
space:
mode:
authorGravatar Liam2023-12-14 21:41:28 -0500
committerGravatar Liam2023-12-14 22:10:21 -0500
commit2a3f84aaf28cb526121e016a9e6699fce7223407 (patch)
treeafb41b9da9839a24bfcf42bd0138c6f5c7a40ead /src/video_core/rasterizer_accelerated.h
parentvideo_core: use interval map for page count tracking (diff)
downloadyuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.gz
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.xz
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.zip
video_core: lock interval map update
Diffstat (limited to 'src/video_core/rasterizer_accelerated.h')
-rw-r--r--src/video_core/rasterizer_accelerated.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_accelerated.h b/src/video_core/rasterizer_accelerated.h
index cd1c706de..f1968f186 100644
--- a/src/video_core/rasterizer_accelerated.h
+++ b/src/video_core/rasterizer_accelerated.h
@@ -3,6 +3,7 @@
3 3
4#pragma once 4#pragma once
5 5
6#include <mutex>
6#include <boost/icl/interval_map.hpp> 7#include <boost/icl/interval_map.hpp>
7 8
8#include "common/common_types.h" 9#include "common/common_types.h"
@@ -30,6 +31,7 @@ private:
30 using IntervalType = IntervalMap::interval_type; 31 using IntervalType = IntervalMap::interval_type;
31 32
32 IntervalMap map; 33 IntervalMap map;
34 std::mutex map_lock;
33 Core::Memory::Memory& cpu_memory; 35 Core::Memory::Memory& cpu_memory;
34}; 36};
35 37