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:
Billy Laws 2021-05-30 17:50:06 +01:00
parent 99a839d669
commit 54d39fbaa7

View File

@ -34,7 +34,7 @@ namespace skyline::nce {
}
} catch (const signal::SignalException &e) {
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) {
signal::BlockSignal({SIGINT});
state.process->Kill(false);