05-22-2020, 08:48 PM
(05-22-2020, 01:36 PM)gid15 Wrote:I've implemented the change for sceMpegAvcDecodeDetail in commit 8917271.sceMpegAvcDecodeDetail is overwriting 8 bytes (0x08B9EAFC-0x08B9EB03) of the ringbuffer structure.Code:21:27:50 DEBUG hle.sceMpeg - MPEG_readThread - sceMpegRingbufferAvailableSize ringbufferAddr=0x08B9EAFC
...
21:27:50 DEBUG hle.sceMpeg - user_main - sceMpegAvcDecodeDetail mpeg=0x08B9EAF8, detailPointer=0x08B9EAD0
21:27:50 DEBUG hle.sceMpeg - user_main - sceMpegAvcDecodeDetail returning 0x0
21:27:50 DEBUG hle.sceMpeg - user_main - detailPointer[out]:
0x08B9EAD0 00 00 00 00 01 00 00 00 E0 01 00 00 10 01 00 00 >................<
0x08B9EAE0 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 >................<
0x08B9EAF0 01 00 00 00 00 00 00 00 18 9D 1A 09 00 DA 00 08 >................<
0x08B9EB00 24 DA 00 08 >$...<
As this is a very old game (PSP_SYSTEM_VER = 1.50), I guess that an older version of sceMpegAvcDecodeDetail was returning less data. I need to further investigate in this direction.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log