mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-01 20:25:20 +01:00
general: properly support multiple memory instances
This commit is contained in:
parent
cae675343c
commit
31bf57a310
17 changed files with 102 additions and 102 deletions
|
|
@ -1422,8 +1422,7 @@ s32 GetCurrentCoreId(KernelCore& kernel) {
|
|||
}
|
||||
|
||||
Core::Memory::Memory& GetCurrentMemory(KernelCore& kernel) {
|
||||
// TODO: per-process memory
|
||||
return kernel.System().ApplicationMemory();
|
||||
return GetCurrentProcess(kernel).GetMemory();
|
||||
}
|
||||
|
||||
KScopedDisableDispatch::~KScopedDisableDispatch() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue