no point in building traces if not allowed to execute them

This commit is contained in:
Stanislav Shwartsman 2023-12-29 21:30:04 +02:00 committed by Stanislav Shwartsman
parent 9ef4aaaaf6
commit 3b79ca3fbf
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ bxICacheEntry_c* BX_CPU_C::serveICacheMiss(Bit32u eipBiased, bx_phy_address pAdd
(BX_SMP_PROCESSORS > 1) ? SIM->get_param_num(BXPN_SMP_QUANTUM)->get() :
#endif
BX_MAX_TRACE_LENGTH;
if (bx_dbg.debugger_active)
quantum = 1;
for (unsigned n=0;n < quantum;n++)
{