mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
kernel: use GetCurrentProcess
This commit is contained in:
parent
e24cd10a63
commit
832e1e2ca4
34 changed files with 147 additions and 128 deletions
|
@ -4426,7 +4426,7 @@ void Call(Core::System& system, u32 imm) {
|
|||
auto& kernel = system.Kernel();
|
||||
kernel.EnterSVCProfile();
|
||||
|
||||
if (system.CurrentProcess()->Is64BitProcess()) {
|
||||
if (GetCurrentProcess(system.Kernel()).Is64BitProcess()) {
|
||||
Call64(system, imm);
|
||||
} else {
|
||||
Call32(system, imm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue