dsp56ops: fix regression from prev commit

This commit is contained in:
hap 2025-04-11 15:34:34 +02:00
parent 74877969c1
commit f34dcc20ec

View File

@ -1004,7 +1004,8 @@ static void execute_one(dsp56156_core* cpustate)
/* For MAME */
cpustate->ppc = PC;
cpustate->device->debug()->instruction_hook(PC);
if (cpustate->device->machine().debug_flags & DEBUG_FLAG_CALL_HOOK) // FIXME: if this was a member, the helper would work
cpustate->device->debug()->instruction_hook(PC);
cpustate->op = ROPCODE(PC);
/* The words we're going to be working with */