Skip to content
Permalink
Browse files
Merge pull request #10991 from Pokechu22/dsp-hle-ax-ucode-switch-state
DSPHLE/AX: Set state to WaitingForCmdListSize when switching uCodes
  • Loading branch information
lioncash committed Aug 18, 2022
2 parents 7a23b45 + f9e1933 commit 39aa5f2
Showing 1 changed file with 4 additions and 0 deletions.
@@ -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:

0 comments on commit 39aa5f2

Please sign in to comment.