core: centralize profile scope for Dynarmic
This commit is contained in:
parent
c6e7ca562a
commit
20eab9fed9
3 changed files with 2 additions and 7 deletions
|
@ -2982,7 +2982,6 @@ static const FunctionDef* GetSVCInfo64(u32 func_num) {
|
|||
}
|
||||
|
||||
void Call(Core::System& system, u32 immediate) {
|
||||
system.ExitDynarmicProfile();
|
||||
auto& kernel = system.Kernel();
|
||||
kernel.EnterSVCProfile();
|
||||
|
||||
|
@ -3007,8 +3006,6 @@ void Call(Core::System& system, u32 immediate) {
|
|||
auto* host_context = thread->GetHostContext().get();
|
||||
host_context->Rewind();
|
||||
}
|
||||
|
||||
system.EnterDynarmicProfile();
|
||||
}
|
||||
|
||||
} // namespace Kernel::Svc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue