Browse Source
core/hle/kernel: Make Mutex a per-process class.
core/hle/kernel: Make Mutex a per-process class.
Makes it an instantiable class like it is in the actual kernel. This will also allow removing reliance on global accessors in a following change, now that we can encapsulate a reference to the system instance in the class.pull/15/merge
5 changed files with 47 additions and 18 deletions
-
9src/core/hle/kernel/mutex.cpp
-
20src/core/hle/kernel/mutex.h
-
3src/core/hle/kernel/process.cpp
-
16src/core/hle/kernel/process.h
-
17src/core/hle/kernel/svc.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue