summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer_accelerated.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-15 03:41:28 +0100
committerLiam <byteslice@airmail.cc>2023-12-15 04:10:21 +0100
commit2a3f84aaf28cb526121e016a9e6699fce7223407 (patch)
treeafb41b9da9839a24bfcf42bd0138c6f5c7a40ead /src/video_core/rasterizer_accelerated.h
parentvideo_core: use interval map for page count tracking (diff)
downloadyuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.gz
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.bz2
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.lz
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.xz
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.tar.zst
yuzu-2a3f84aaf28cb526121e016a9e6699fce7223407.zip
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 @@
#pragma once
+#include <mutex>
#include <boost/icl/interval_map.hpp>
#include "common/common_types.h"
@@ -30,6 +31,7 @@ private:
using IntervalType = IntervalMap::interval_type;
IntervalMap map;
+ std::mutex map_lock;
Core::Memory::Memory& cpu_memory;
};