mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-24 14:53:34 +01: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:
1 parent
0238258129
commit
4de5e1b72f
1 file changed
+2
-2
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user