mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-07-06 20:37:53 -05:00
video_core: lock interval map update
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user