mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 21:30:05 +00:00
kernel: pass ref to shared memory
This commit is contained in:
parent
2a411bb501
commit
87426b29ff
14 changed files with 95 additions and 88 deletions
|
@ -855,9 +855,9 @@ Module::Module(Core::System& system) : system(system) {
|
|||
|
||||
using Kernel::MemoryPermission;
|
||||
shared_font_mem =
|
||||
Kernel::SharedMemory::Create(nullptr, 0x332000, // 3272 KB
|
||||
MemoryPermission::ReadWrite, MemoryPermission::Read, 0,
|
||||
Kernel::MemoryRegion::SYSTEM, "APT:SharedFont");
|
||||
system.Kernel().CreateSharedMemory(nullptr, 0x332000, // 3272 KB
|
||||
MemoryPermission::ReadWrite, MemoryPermission::Read, 0,
|
||||
Kernel::MemoryRegion::SYSTEM, "APT:SharedFont");
|
||||
|
||||
lock = system.Kernel().CreateMutex(false, "APT_U:Lock");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue