Zelda-HLE: run pending commands when replacing ucode

Part 1/2 of a fix for using multiple GBAs in Four Swords Adventures.
This commit is contained in:
Michael Maltese 2017-05-05 02:24:02 -07:00
parent e9571106c2
commit 01cc36693a

View File

@ -208,6 +208,8 @@ void ZeldaUCode::HandleMailDefault(u32 mail)
switch (mail & 0xFFFF)
{
case 1:
m_cmd_can_execute = true;
RunPendingCommands();
NOTICE_LOG(DSPHLE, "UCode being replaced.");
m_upload_setup_in_progress = true;
SetMailState(MailState::HALTED);