citra icon indicating copy to clipboard operation
citra copied to clipboard

audio_core/hle: Stub binary requests SaveState and LoadState.

Open Steveice10 opened this issue 1 year ago • 0 comments

When the AAC decoder is being used, it hooks into the DSP sleep/wake behavior to send the following commands:

  • Sleep: SaveState -> Shutdown
  • Wake: Initialize -> LoadState

This implements stubs for SaveState and LoadState, currently doing nothing and returning a success response. Additionally, we now signal the binary interrupt when we finish a request; otherwise, games may hang waiting for completion.

This allows AAC games to suspend and resume to/from home menu without freezing, although resuming will break the current AAC audio since they aren't actually implemented yet.


This change is Reviewable

Steveice10 avatar Jul 10 '23 01:07 Steveice10