fixed compilation under VS2013

This commit is contained in:
Stanislav Shwartsman 2017-09-03 11:42:27 +00:00
parent 7c3dafc7f5
commit 3148cdd683

View File

@ -3580,9 +3580,10 @@ void bx_dbg_print_help(void)
dbg_printf(" show \"param\", restore\n");
}
extern "C" Bit64u eval_value;
void bx_dbg_calc_command(Bit64u value)
{
extern Bit64u eval_value;
assert(value == eval_value);
dbg_printf("0x" FMT_LL "x " FMT_LL "d\n", eval_value, eval_value);
}