diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-01 20:36:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 20:36:24 +0200 |
commit | e0eee250bb4d70f4fc4973f08649636faf9808cf (patch) | |
tree | eaf2aabd5471c13fe89ac5f7da247b3bf1248e83 /src/core/hle/service | |
parent | Merge pull request #2304 from lioncash/memsize (diff) | |
parent | general: Use deducation guides for std::lock_guard and std::unique_lock (diff) | |
download | yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar.gz yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar.bz2 yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar.lz yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar.xz yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.tar.zst yuzu-e0eee250bb4d70f4fc4973f08649636faf9808cf.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index 1c4482e47..c6babdd4d 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -335,7 +335,7 @@ void Module::Interface::CreateUserInterface(Kernel::HLERequestContext& ctx) { } bool Module::Interface::LoadAmiibo(const std::vector<u8>& buffer) { - std::lock_guard<std::recursive_mutex> lock(HLE::g_hle_lock); + std::lock_guard lock{HLE::g_hle_lock}; if (buffer.size() < sizeof(AmiiboFile)) { return false; } |