Change to mpegLibVersion
This commit is contained in:
parent
282505c70f
commit
f37d0622e2
1 changed files with 6 additions and 7 deletions
|
@ -1363,15 +1363,14 @@ static int sceMpegAvcDecodeYCbCr(u32 mpeg, u32 auAddr, u32 bufferAddr, u32 initA
|
|||
// Flush structs back to memory
|
||||
avcAu.write(auAddr);
|
||||
|
||||
// Save the current frame's status to initAddr
|
||||
PSPFileInfo fileInfo = pspFileSystem.GetFileInfo("disc0:\\PSP_GAME\\USRDIR\\module\\mpeg.prx");
|
||||
if (fileInfo.exists) {
|
||||
Memory::Write_U32(ctx->avc.avcFrameStatus, initAddr);
|
||||
}
|
||||
else {
|
||||
// Sunday Vs Magazine Shuuketsu! Choujou Daikessen expcect, issue #11060
|
||||
if (mpegLibVersion >= 0x010A) {
|
||||
// Sunday Vs Magazine Shuuketsu! Choujou Daikessen expect, issue #11060
|
||||
Memory::Write_U32(1, initAddr);
|
||||
}
|
||||
else {
|
||||
// Save the current frame's status to initAddr
|
||||
Memory::Write_U32(ctx->avc.avcFrameStatus, initAddr);
|
||||
}
|
||||
ctx->avc.avcDecodeResult = MPEG_AVC_DECODE_SUCCESS;
|
||||
|
||||
DEBUG_LOG(ME, "sceMpegAvcDecodeYCbCr(%08x, %08x, %08x, %08x)", mpeg, auAddr, bufferAddr, initAddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue