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:
kaienfr 2014-03-23 20:28:39 +01:00
parent 0238258129
commit 4de5e1b72f

View File

@ -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{