Trigger memchecks on audio decode from video.

This commit is contained in:
Unknown W. Brackets 2014-04-26 11:51:06 -07:00
parent 065677095f
commit 6c53f19854

View File

@ -761,6 +761,9 @@ int MediaEngine::getAudioSamples(u32 bufferPtr) {
if (!m_audioContext->Decode(audioFrame, frameSize, buffer, &outbytes)) {
ERROR_LOG(ME, "Audio (%s) decode failed during video playback", GetCodecName(m_audioType));
}
#ifndef MOBILE_DEVICE
CBreakPoints::ExecMemCheck(bufferPtr, true, outbytes, currentMIPS->pc);
#endif
}
if (headerCode1 == 0x24) {