Fix compile

This commit is contained in:
Angelo Salese 2011-08-06 20:34:09 +00:00
parent fe6ba0865a
commit f46b240b03
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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<saturn_state>();
data = state->m_scu_regs[0x80/4] & ;
if(LEF) dsp_reg.pc = (data & 0xff);
if(EXF) dsp_execute_program(space);