forked from eden-emu/eden
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