fix halt cpu indication from debugger

This commit is contained in:
Stanislav Shwartsman 2015-09-14 19:17:20 +00:00
parent 491dc311ca
commit c8cf4f956d

View File

@ -592,7 +592,7 @@ void bx_dbg_interrupt(unsigned cpu, Bit8u vector, Bit16u error_code)
void bx_dbg_halt(unsigned cpu)
{
if (BX_CPU(dbg_cpu)->trace)
if (BX_CPU(cpu)->trace)
{
dbg_printf("CPU %d: HALTED\n", cpu);
}