Skip to content
Permalink
Browse files

Don't check auAddr.

  • Loading branch information
shenweip committed Jan 5, 2020
1 parent 4bc0274 commit 8ccc7996b038ae80ece65b60a18f619f46e45d56
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/HLE/sceMpeg.cpp
@@ -1898,7 +1898,7 @@ static u32 sceMpegAtracDecode(u32 mpeg, u32 auAddr, u32 bufferAddr, int init)
return -1;
}

if (!Memory::IsValidAddress(bufferAddr) || !Memory::IsValidAddress(auAddr)) {
if (!Memory::IsValidAddress(bufferAddr)) {
WARN_LOG(ME, "sceMpegAtracDecode(%08x, %08x, %08x, %i): invalid addresses", mpeg, auAddr, bufferAddr, init);
return -1;
}

0 comments on commit 8ccc799

Please sign in to comment.
You can’t perform that action at this time.