diff options
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index c55dc0c8ad..b1ce1e9daa 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -4428,7 +4428,9 @@ void Call(Core::System& system, u32 imm) { std::array<uint64_t, 8> args; kernel.CurrentPhysicalCore().SaveSvcArguments(process, args); +#if MICROPROFILE_ENABLED kernel.EnterSVCProfile(); +#endif if (process.Is64Bit()) { Call64(system, imm, args); @@ -4436,7 +4438,9 @@ void Call(Core::System& system, u32 imm) { Call32(system, imm, args); } +#if MICROPROFILE_ENABLED kernel.ExitSVCProfile(); +#endif kernel.CurrentPhysicalCore().LoadSvcArguments(process, args); } |
