aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc/svc_exception.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-28 14:30:39 -0500
committerLiam <byteslice@airmail.cc>2023-12-04 10:37:16 -0500
commit45c87c7e6e841c11def43e5ab25160006dab6d77 (patch)
tree04a3ea0bd8c07389e17741aa28615e3b32ace2f7 /src/core/hle/kernel/svc/svc_exception.cpp
parent90e87c40e8628f2ed00a0e0272a9652b7fdb9a96 (diff)
core: refactor emulated cpu core activation
Diffstat (limited to 'src/core/hle/kernel/svc/svc_exception.cpp')
-rw-r--r--src/core/hle/kernel/svc/svc_exception.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc/svc_exception.cpp b/src/core/hle/kernel/svc/svc_exception.cpp
index c581c086b..47b756828 100644
--- a/src/core/hle/kernel/svc/svc_exception.cpp
+++ b/src/core/hle/kernel/svc/svc_exception.cpp
@@ -103,9 +103,7 @@ void Break(Core::System& system, BreakReason reason, u64 info1, u64 info2) {
handle_debug_buffer(info1, info2);
- auto* const current_thread = GetCurrentThreadPointer(system.Kernel());
- const auto thread_processor_id = current_thread->GetActiveCore();
- system.ArmInterface(static_cast<std::size_t>(thread_processor_id)).LogBacktrace();
+ system.CurrentPhysicalCore().LogBacktrace();
}
const bool is_hbl = GetCurrentProcess(system.Kernel()).IsHbl();