Correct sceMpegbase parameter

This commit is contained in:
sum2012 2014-03-29 01:17:37 +08:00
parent e5d5a8d124
commit 20861a6d00

View File

@ -1794,15 +1794,19 @@ void Register_sceMpeg()
RegisterModule("sceMpeg", ARRAY_SIZE(sceMpeg), sceMpeg);
}
u32 sceMpegbase_BEA18F91(u32 unknown1, u32 unknown2, u32 unknown3, u32 unknown4, u32 unknown5, u32 unknown6)
u32 sceMpegbase_BEA18F91(u32 SceMpegLLI)
{
ERROR_LOG(ME, "UNIMPL sceMpegbase_BEA18F91(%08x, %08x, %08x, %08x, %08x, %08x)", unknown1, unknown2, unknown3, unknown4, unknown5, unknown6);
u32 pSrc = Memory::Read_U32(SceMpegLLI);
u32 pDst = Memory::Read_U32(SceMpegLLI + 4);
u32 Next = Memory::Read_U32(SceMpegLLI + 8);
int iSize = Memory::Read_U32(SceMpegLLI + 12);
ERROR_LOG(ME, "UNIMPL sceMpegbase_BEA18F91(pSrc %i ,pDst %i,Next %i,iSize %i)", pSrc, pDst, Next, iSize);
return 0;
}
const HLEFunction sceMpegbase[] =
{
{ 0xBEA18F91, WrapU_UUUUUU<sceMpegbase_BEA18F91>, "sceMpegbase_BEA18F91" },
{ 0xBEA18F91, WrapU_U<sceMpegbase_BEA18F91>, "sceMpegbase_BEA18F91" },
{ 0x492B5E4B, 0, "sceMpegBaseCscInit" },
{ 0x0530BE4E, 0, "sceMpegbase_0530BE4E" },
{ 0x91929A21, 0, "sceMpegBaseCscAvc" },