mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
1 parent
f4b581025d
commit
4bc0274d53
1 file changed
+5
@@ -1898,6 +1898,11 @@ static u32 sceMpegAtracDecode(u32 mpeg, u32 auAddr, u32 bufferAddr, int init)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!Memory::IsValidAddress(bufferAddr) || !Memory::IsValidAddress(auAddr)) {
|
||||
WARN_LOG(ME, "sceMpegAtracDecode(%08x, %08x, %08x, %i): invalid addresses", mpeg, auAddr, bufferAddr, init);
|
||||
return -1;
|
||||
}
|
||||
|
||||
DEBUG_LOG(ME, "sceMpegAtracDecode(%08x, %08x, %08x, %i)", mpeg, auAddr, bufferAddr, init);
|
||||
|
||||
SceMpegAu atracAu;
|
||||
|
||||
Reference in new issue
Block a user