diff --git a/src/mame/drivers/saturn.c b/src/mame/drivers/saturn.c index 27beaeeb12d..bc70aee23de 100644 --- a/src/mame/drivers/saturn.c +++ b/src/mame/drivers/saturn.c @@ -593,7 +593,7 @@ static WRITE32_HANDLER( saturn_scu_w ) /*DSP section*/ case 0x80/4: /* TODO: you can't overwrite some flags with this */ - dsp_prg_ctrl(space, state->m_scu_regs[offset]); + dsp_prg_ctrl_w(space, state->m_scu_regs[offset]); if(LOG_SCU) logerror("SCU DSP: Program Control Port Access %08x\n",data); break; case 0x84/4: diff --git a/src/mame/machine/scudsp.c b/src/mame/machine/scudsp.c index afd9827281a..b8f7b2084b5 100644 --- a/src/mame/machine/scudsp.c +++ b/src/mame/machine/scudsp.c @@ -1,5 +1,5 @@ /****************************************************************************************** -System Control Unit - DSP emulator version 0.08 +System Control Unit - DSP emulator version 0.09 Written by Angelo Salese & Mariusz Wojcieszek @@ -343,7 +343,6 @@ UINT32 dsp_prg_ctrl_r(address_space *space) void dsp_prg_ctrl_w(address_space *space, UINT32 data) { saturn_state *state = space->machine().driver_data(); - data = state->m_scu_regs[0x80/4] & ; if(LEF) dsp_reg.pc = (data & 0xff); if(EXF) dsp_execute_program(space);