mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 08:31:48 +01:00
Fix backtrace format string so it properly handles SVC names
This was missed when we moved over to printing SVC names rather than numbers.
This commit is contained in:
parent
99a839d669
commit
54d39fbaa7
@ -34,7 +34,7 @@ namespace skyline::nce {
|
|||||||
}
|
}
|
||||||
} catch (const signal::SignalException &e) {
|
} catch (const signal::SignalException &e) {
|
||||||
if (e.signal != SIGINT) {
|
if (e.signal != SIGINT) {
|
||||||
state.logger->ErrorNoPrefix("{} (SVC: 0x{:X})\nStack Trace:{}", e.what(), svc.name, state.loader->GetStackTrace(e.frames));
|
state.logger->ErrorNoPrefix("{} (SVC: {})\nStack Trace:{}", e.what(), svc.name, state.loader->GetStackTrace(e.frames));
|
||||||
if (state.thread->id) {
|
if (state.thread->id) {
|
||||||
signal::BlockSignal({SIGINT});
|
signal::BlockSignal({SIGINT});
|
||||||
state.process->Kill(false);
|
state.process->Kill(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user