From: Toni Wilen Date: Sat, 23 Mar 2019 15:36:46 +0000 (+0200) Subject: Activate debugger if cpu halts and debugger is in use. X-Git-Tag: 4200~15 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0c0140cffd419768894000ed68897f7ee2c9b867;p=francis%2Fwinuae.git Activate debugger if cpu halts and debugger is in use. --- diff --git a/newcpu.cpp b/newcpu.cpp index 4e1fa914..ca354a8b 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -5791,6 +5791,8 @@ void cpu_halt (int id) regs.intmask = 7; MakeSR (); audio_deactivate (); + if (debugging) + activate_debugger(); } } set_special(SPCFLAG_CHECK);