mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
SimpleAudioDec: Fix crash in savestate load
This commit is contained in:
parent
5c26aa4c96
commit
091535744b
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ void AuCtx::DoState(PointerWrap &p) {
|
|||
Do(p, Channels);
|
||||
Do(p, MaxOutputSample);
|
||||
Do(p, readPos);
|
||||
int audioType = (int)decoder->GetAudioType();
|
||||
int audioType = decoder ? (int)decoder->GetAudioType() : 0;
|
||||
Do(p, audioType);
|
||||
Do(p, BitRate);
|
||||
Do(p, SamplingRate);
|
||||
|
|
Loading…
Add table
Reference in a new issue