fixed compilation error with 386/486 and internal dbger enabled

This commit is contained in:
Stanislav Shwartsman 2012-04-11 18:11:14 +00:00
parent 7e67845ac8
commit 59e13d5299

View File

@ -643,7 +643,9 @@ void BX_CPU_C::register_state(void)
#if BX_DEBUGGER
bx_list_c *tlb = new bx_list_c(cpu, "TLB");
#if BX_CPU_LEVEL >= 5
BXRS_PARAM_BOOL(tlb, split_large, TLB.split_large);
#endif
for (n=0; n<BX_TLB_SIZE; n++) {
sprintf(name, "entry%d", n);
bx_list_c *tlb_entry = new bx_list_c(tlb, name);