mirror of https://github.com/bsnes-emu/bsnes.git
The first entry in the backtrace command is now in the same format as the rest
This commit is contained in:
parent
7d88ee00cc
commit
a01ea29cf1
|
@ -1325,8 +1325,8 @@ static bool backtrace(GB_gameboy_t *gb, char *arguments, char *modifiers, const
|
|||
print_usage(gb, command);
|
||||
return true;
|
||||
}
|
||||
|
||||
GB_log(gb, " 1. %s\n", value_to_string(gb, gb->pc, true));
|
||||
|
||||
GB_log(gb, " 1. %s\n", debugger_value_to_string(gb, (value_t){gb->pc, bank_for_addr(gb, gb->pc)}, true));
|
||||
for (unsigned int i = gb->backtrace_size; i--;) {
|
||||
GB_log(gb, "%3d. %s\n", gb->backtrace_size - i + 1, debugger_value_to_string(gb, (value_t){true, gb->backtrace_returns[i].bank, gb->backtrace_returns[i].addr}, true));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue