Merge pull request #4866 from unknownbrackets/io-minor

Reporting and tweak to mpeg change for Valkyrie Profile
This commit is contained in:
Henrik Rydgård committed 2013-12-17 02:04:50 -08:00
commit 52cec1ca38
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1558,6 +1558,7 @@ u32 sceIoDevctl(const char *name, int cmd, u32 argAddr, int argLen, u32 outPtr,
089c6bdc ]: HLE: sceKernelCreateCallback(name= MemoryStick Detection ,entry= 089c7484 ) (z_un_089c6bc4)
089c6c40 ]: HLE: sceKernelCreateCallback(name= MemoryStick Assignment ,entry= 089c7534 ) (z_un_089c6bc4)
*/
ERROR_LOG_REPORT(SCEIO, "UNIMPL sceIoDevctl(\"%s\", %08x, %08x, %i, %08x, %i)", name, cmd, argAddr, argLen, outPtr, outLen);
return SCE_KERNEL_ERROR_UNSUP;
}
+1 -1
View File
@@ -333,7 +333,7 @@ int MediaEngine::addStreamData(u8* buffer, int addSize) {
m_demux->demux(m_audioStream);
}
#ifdef USE_FFMPEG
if (!m_pFormatCtx && m_pdata->getQueueSize() >= 2048 * 6) {
if (!m_pFormatCtx && m_pdata->getQueueSize() >= 2048 * 5) {
m_pdata->get_front(m_mpegheader, sizeof(m_mpegheader));
int mpegoffset = bswap32(*(int*)(m_mpegheader + 8));
m_pdata->pop_front(0, mpegoffset);