mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 21:30:05 +00:00
Kernel: pass ref in Mutex
This commit is contained in:
parent
eec11a94cb
commit
7449ba85a6
9 changed files with 27 additions and 22 deletions
|
@ -859,7 +859,7 @@ Module::Module(Core::System& system) : system(system) {
|
|||
MemoryPermission::ReadWrite, MemoryPermission::Read, 0,
|
||||
Kernel::MemoryRegion::SYSTEM, "APT:SharedFont");
|
||||
|
||||
lock = Kernel::Mutex::Create(false, "APT_U:Lock");
|
||||
lock = system.Kernel().CreateMutex(false, "APT_U:Lock");
|
||||
}
|
||||
|
||||
Module::~Module() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue