diff options
| author | 2017-08-29 20:39:55 +1200 | |
|---|---|---|
| committer | 2017-08-29 20:39:55 +1200 | |
| commit | 826606479682234c98e4dfa6e616e637a28d4fcc (patch) | |
| tree | be6cbcc451182e0ec9801470b9c454e94ba124c5 /src/core/hle/lock.h | |
| parent | Merge pull request #2839 from Subv/global_kernel_lock (diff) | |
| download | yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.gz yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.tar.xz yuzu-826606479682234c98e4dfa6e616e637a28d4fcc.zip | |
Use recursive_mutex instead of mutex to fix #2902
Diffstat (limited to 'src/core/hle/lock.h')
| -rw-r--r-- | src/core/hle/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/lock.h b/src/core/hle/lock.h index 8265621e1..5c99fe996 100644 --- a/src/core/hle/lock.h +++ b/src/core/hle/lock.h | |||
| @@ -14,5 +14,5 @@ namespace HLE { | |||
| 14 | * to the emulated memory is not protected by this mutex, and should be avoided in any threads other | 14 | * to the emulated memory is not protected by this mutex, and should be avoided in any threads other |
| 15 | * than the CPU thread. | 15 | * than the CPU thread. |
| 16 | */ | 16 | */ |
| 17 | extern std::mutex g_hle_lock; | 17 | extern std::recursive_mutex g_hle_lock; |
| 18 | } // namespace HLE | 18 | } // namespace HLE |