kernel: use GetCurrentProcess

This commit is contained in:
Liam 2023-02-13 10:44:41 -05:00
parent 770a49616d
commit 4363ca304a
34 changed files with 147 additions and 128 deletions

View file

@ -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);