diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2023-12-06 14:19:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 14:19:17 +0100 |
| commit | 8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a (patch) | |
| tree | 265bf3c7970a570479c6a3ac1250549995f0329c /src/core/hle/kernel/svc/svc_exception.cpp | |
| parent | 167efb2d2bc3546fa9835ce1c20ece3ec3aa2c17 (diff) | |
| parent | f0ee3e29cb6fa5c5d45f5ecd78091295add72baa (diff) | |
Merge pull request #12236 from liamwhite/cpu-refactor
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.cpp | 4 |
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(); |
