mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 01:47:46 +00:00
general: properly support multiple memory instances
This commit is contained in:
parent
8243f4e3c7
commit
1fdcd70bad
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