Files
dolphin/Source/Core/Core/HW
Pokechu22 9675faa232 DSPHLE: Properly reflect initial halt state in mail handler
DSPHLE::Initialize sets the halt and init bits to true (i.e. m_dsp_control.Hex starts as 0x804), which is reasonable behavior (this is the state the DSP will be in when starting a game from the IPL, as after `__OSStopAudioSystem` the control register is 0x804).
However, CMailHandler::m_halted defaults to false, and we only call CMailHandler::SetHalted in DSPHLE::DSP_WriteControlRegister when m_dsp_control.DSPHalt changes, so since DSPHalt defaults to true, if the first thing that happens is writing true to DSPHalt, we won't properly halt the mail handler.
Now, we call CMailHandler::SetHalted on startup. This fixes Datel titles when the IPL is skipped with DSP HLE (though this configuration only works once https://bugs.dolphin-emu.org/issues/8223 is fixed).
2022-06-25 14:06:55 -07:00
..
2022-06-02 19:39:36 -07:00
2022-05-25 13:06:41 -07:00
2021-10-21 08:26:50 -04:00
2022-05-25 13:06:41 -07:00
2021-07-13 16:42:35 +02:00
2021-07-13 16:42:35 +02:00
2021-07-13 16:42:35 +02:00
2021-07-13 16:42:35 +02:00
2021-07-13 16:42:35 +02:00
2021-07-13 16:42:35 +02:00
2022-05-25 13:06:41 -07:00
2021-12-24 11:03:58 +01:00
2022-01-16 14:21:28 -08:00
2022-01-16 14:21:28 -08:00
2022-05-25 13:06:41 -07:00