summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-25 18:53:19 +0100
committerLioncash <mathew1800@gmail.com>2020-10-25 18:53:22 +0100
commit98f4c5e7b80d1fee83df5d166f6b3755449b729e (patch)
tree5e23e2fb4469ec3f3566cd273137f2923ca3d8b0
parentcore: Fix clang build pt.3 (diff)
downloadyuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar.gz
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar.bz2
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar.lz
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar.xz
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.tar.zst
yuzu-98f4c5e7b80d1fee83df5d166f6b3755449b729e.zip
-rw-r--r--src/core/hle/service/bcat/backend/backend.cpp2
-rw-r--r--src/yuzu/applets/controller.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/backend.cpp b/src/core/hle/service/bcat/backend/backend.cpp
index def3410cc..174388445 100644
--- a/src/core/hle/service/bcat/backend/backend.cpp
+++ b/src/core/hle/service/bcat/backend/backend.cpp
@@ -84,7 +84,7 @@ void ProgressServiceBackend::FinishDownload(ResultCode result) {
void ProgressServiceBackend::SignalUpdate() const {
if (need_hle_lock) {
- std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock);
+ std::lock_guard lock(HLE::g_hle_lock);
event.writable->Signal();
} else {
event.writable->Signal();
diff --git a/src/yuzu/applets/controller.cpp b/src/yuzu/applets/controller.cpp
index 9d45f2a01..2760487a3 100644
--- a/src/yuzu/applets/controller.cpp
+++ b/src/yuzu/applets/controller.cpp
@@ -596,6 +596,6 @@ void QtControllerSelector::ReconfigureControllers(
void QtControllerSelector::MainWindowReconfigureFinished() {
// Acquire the HLE mutex
- std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock);
+ std::lock_guard lock(HLE::g_hle_lock);
callback();
}