mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 19:00:54 +00:00
Remove incorrect atrac decode ptr nullcheck.
Already shown in decode test to be valid.
This commit is contained in:
parent
199e6bcd3b
commit
70705d4a9d
@ -695,10 +695,8 @@ u32 _AtracDecodeData(int atracID, u8* outbuf, u32 *SamplesNum, u32* finish, int
|
||||
|
||||
u32 sceAtracDecodeData(int atracID, u32 outAddr, u32 numSamplesAddr, u32 finishFlagAddr, u32 remainAddr) {
|
||||
int ret = -1;
|
||||
if (!Memory::IsValidAddress(outAddr)) {
|
||||
ERROR_LOG(ME, "%08x=sceAtracDecodeData(%i, %08x, ...): Bad out addr, skipping", ret, atracID, outAddr);
|
||||
return SCE_KERNEL_ERROR_ILLEGAL_ADDR;
|
||||
}
|
||||
|
||||
// Note that outAddr being null is completely valid here, used to skip data.
|
||||
|
||||
u32 numSamples = 0;
|
||||
u32 finish = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user