--- hatari/src/falcon/dsp_cpu.c 2019/04/09 08:53:24 1.1.1.9 +++ hatari/src/falcon/dsp_cpu.c 2019/04/09 08:54:36 1.1.1.10 @@ -74,11 +74,11 @@ #include +#include "main.h" #include "dsp_core.h" #include "dsp_cpu.h" #include "dsp_disasm.h" #include "log.h" -#include "main.h" #include "debugui.h" #define DSP_COUNT_IPS 0 /* Count instruction per seconds */ @@ -888,7 +888,7 @@ static void dsp_postexecute_update_pc(vo Uint32 saved_pc, saved_sr; dsp_stack_pop(&saved_pc, &saved_sr); - dsp_core.registers[DSP_REG_SR] &= 0x7f; + dsp_core.registers[DSP_REG_SR] &= 0x7fff; dsp_core.registers[DSP_REG_SR] |= saved_sr & (1<