diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-12-19 04:10:51 +0100 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-12-19 04:10:51 +0100 |
commit | 08d5663cb8989f6e57cc28e02c572367685d69fd (patch) | |
tree | ea69bc539f01e2a2b7b99168b4fcb2834027f5ec /src/core/hle/kernel/svc.cpp | |
parent | Moved backtrace to ArmInterface (diff) | |
download | yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar.gz yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar.bz2 yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar.lz yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar.xz yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.tar.zst yuzu-08d5663cb8989f6e57cc28e02c572367685d69fd.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 2273f0bcf..290670e78 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -625,8 +625,9 @@ static void Break(u32 reason, u64 info1, u64 info2) { "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}", reason, info1, info2); handle_debug_buffer(info1, info2); - GetCurrentThread()->LogBacktrace(); - + Core::System::GetInstance() + .ArmInterface(static_cast<std::size_t>(GetCurrentThread()->GetProcessorID())) + .LogBacktrace(); ASSERT(false); Core::CurrentProcess()->PrepareForTermination(); |