mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-18 00:12:42 +00:00
kernel: use GetCurrentProcess
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user