diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-17 16:05:51 -0800 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-17 16:05:51 -0800 |
commit | c73841500a7bf98f9f4006d25507b7b596257cbd (patch) | |
tree | a7d617bc9b1525a5c342c34a8b909c15bf6cb293 /src/yuzu/applets/qt_profile_select.cpp | |
parent | e242f169864c1e6eae067bb1866b18bde6aeb3ac (diff) |
core: hle: Remove global HLE lock.
- This was added early on as a hack to protect against some concurrency issues.
- It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
Diffstat (limited to 'src/yuzu/applets/qt_profile_select.cpp')
-rw-r--r-- | src/yuzu/applets/qt_profile_select.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cpp index 7b19f1f8d..5b32da923 100644 --- a/src/yuzu/applets/qt_profile_select.cpp +++ b/src/yuzu/applets/qt_profile_select.cpp @@ -14,7 +14,6 @@ #include "common/fs/path_util.h" #include "common/string_util.h" #include "core/constants.h" -#include "core/hle/lock.h" #include "yuzu/applets/qt_profile_select.h" #include "yuzu/main.h" #include "yuzu/util/controller_navigation.h" @@ -170,7 +169,5 @@ void QtProfileSelector::SelectProfile( } void QtProfileSelector::MainWindowFinishedSelection(std::optional<Common::UUID> uuid) { - // Acquire the HLE mutex - std::lock_guard lock{HLE::g_hle_lock}; callback(uuid); } |