Merge pull request #10732 from Pokechu22/dsp-init

Increase accuracy of DSP initialization process
This commit is contained in:
Pierre Bourdon
2022-06-22 14:36:04 +02:00
committed by GitHub
14 changed files with 98 additions and 59 deletions

View File

@ -183,7 +183,7 @@ void DSPLLE::Shutdown()
u16 DSPLLE::DSP_WriteControlRegister(u16 value)
{
m_dsp_core.GetInterpreter().WriteCR(value);
m_dsp_core.GetInterpreter().WriteControlRegister(value);
if ((value & CR_EXTERNAL_INT) != 0)
{
@ -207,7 +207,7 @@ u16 DSPLLE::DSP_WriteControlRegister(u16 value)
u16 DSPLLE::DSP_ReadControlRegister()
{
return m_dsp_core.GetInterpreter().ReadCR();
return m_dsp_core.GetInterpreter().ReadControlRegister();
}
u16 DSPLLE::DSP_ReadMailBoxHigh(bool cpu_mailbox)