mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
Fix compile
This commit is contained in:
parent
fe6ba0865a
commit
f46b240b03
@ -593,7 +593,7 @@ static WRITE32_HANDLER( saturn_scu_w )
|
|||||||
/*DSP section*/
|
/*DSP section*/
|
||||||
case 0x80/4:
|
case 0x80/4:
|
||||||
/* TODO: you can't overwrite some flags with this */
|
/* 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);
|
if(LOG_SCU) logerror("SCU DSP: Program Control Port Access %08x\n",data);
|
||||||
break;
|
break;
|
||||||
case 0x84/4:
|
case 0x84/4:
|
||||||
|
@ -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
|
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)
|
void dsp_prg_ctrl_w(address_space *space, UINT32 data)
|
||||||
{
|
{
|
||||||
saturn_state *state = space->machine().driver_data<saturn_state>();
|
saturn_state *state = space->machine().driver_data<saturn_state>();
|
||||||
data = state->m_scu_regs[0x80/4] & ;
|
|
||||||
|
|
||||||
if(LEF) dsp_reg.pc = (data & 0xff);
|
if(LEF) dsp_reg.pc = (data & 0xff);
|
||||||
if(EXF) dsp_execute_program(space);
|
if(EXF) dsp_execute_program(space);
|
||||||
|
Loading…
Reference in New Issue
Block a user