mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Update MediaEngine.cpp
auto s = p.Section("MediaEngine", 1, 3); if (s >= 3){ p.Do(m_audioType); } else{ m_audioType = PSP_CODEC_AT3PLUS; }
This commit is contained in:
parent
0238258129
commit
4de5e1b72f
@ -175,7 +175,7 @@ void MediaEngine::closeMedia() {
|
||||
}
|
||||
|
||||
void MediaEngine::DoState(PointerWrap &p){
|
||||
auto s = p.Section("MediaEngine", 1, 2);
|
||||
auto s = p.Section("MediaEngine", 1, 3);
|
||||
if (!s)
|
||||
return;
|
||||
|
||||
@ -213,7 +213,7 @@ void MediaEngine::DoState(PointerWrap &p){
|
||||
|
||||
p.Do(m_isVideoEnd);
|
||||
p.Do(m_noAudioData);
|
||||
if (s > 3){
|
||||
if (s >= 3){
|
||||
p.Do(m_audioType);
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user