From fa618a2bf75d47add8e594ebe46e95317437e3c7 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 28 Apr 2023 13:24:40 +0200 Subject: [PATCH] Qt: use shared_mutex in movie_item --- rpcs3/rpcs3qt/movie_item.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/rpcs3qt/movie_item.h b/rpcs3/rpcs3qt/movie_item.h index f6c9787d39..ac07560167 100644 --- a/rpcs3/rpcs3qt/movie_item.h +++ b/rpcs3/rpcs3qt/movie_item.h @@ -1,13 +1,13 @@ #pragma once #include "util/atomic.hpp" +#include "Utilities/mutex.h" #include #include #include #include -#include #include #include @@ -71,7 +71,7 @@ public: return m_size_on_disk_loading_aborted; } - std::mutex pixmap_mutex; + shared_mutex pixmap_mutex; private: std::shared_ptr m_movie;