Merge pull request #10991 from Pokechu22/dsp-hle-ax-ucode-switch-state

DSPHLE/AX: Set state to WaitingForCmdListSize when switching uCodes
This commit is contained in:
Mai 2022-08-18 10:34:57 -04:00 committed by GitHub
commit 39aa5f29a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -701,6 +701,10 @@ void AXUCode::HandleMail(u32 mail)
case MAIL_NEW_UCODE:
m_upload_setup_in_progress = true;
// Relevant when this uCode is resumed after switching.
// The resume mail is sent via the NeedsResumeMail() check above
// (and the flag corresponding to it is set by PrepareBootUCode).
m_mail_state = MailState::WaitingForCmdListSize;
break;
case MAIL_RESET: