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/core/hle/service/nfp/nfp.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/core/hle/service/nfp/nfp.cpp')
| -rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index 693ffc71a..761d0d3c6 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -9,7 +9,6 @@ #include "core/core.h" #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/k_event.h" -#include "core/hle/lock.h" #include "core/hle/service/nfp/nfp.h" #include "core/hle/service/nfp/nfp_user.h" @@ -337,7 +336,6 @@ void Module::Interface::CreateUserInterface(Kernel::HLERequestContext& ctx) { } bool Module::Interface::LoadAmiibo(const std::vector<u8>& buffer) { - std::lock_guard lock{HLE::g_hle_lock}; if (buffer.size() < sizeof(AmiiboFile)) { return false; } |
