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 | 5192e8e092397b2f0af6f3a80adbd7b5272b58d8 (patch) | |
| tree | a7d617bc9b1525a5c342c34a8b909c15bf6cb293 /src/yuzu/applets/qt_error.cpp | |
| parent | ff1f70a893dc4d5f7e6413f332b521181714de3e (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_error.cpp')
| -rw-r--r-- | src/yuzu/applets/qt_error.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/yuzu/applets/qt_error.cpp b/src/yuzu/applets/qt_error.cpp index 45cf646033..879e73660d 100644 --- a/src/yuzu/applets/qt_error.cpp +++ b/src/yuzu/applets/qt_error.cpp @@ -3,7 +3,6 @@ // Refer to the license.txt file included. #include <QDateTime> -#include "core/hle/lock.h" #include "yuzu/applets/qt_error.h" #include "yuzu/main.h" @@ -57,7 +56,5 @@ void QtErrorDisplay::ShowCustomErrorText(ResultCode error, std::string dialog_te } void QtErrorDisplay::MainWindowFinishedError() { - // Acquire the HLE mutex - std::lock_guard lock{HLE::g_hle_lock}; callback(); } |
