mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-11 18:33:41 +00:00
Add a missing logging in sceAacInit
This commit is contained in:
parent
85999ca052
commit
2589e330d1
@ -138,8 +138,10 @@ u32 sceMp4SearchSyncSampleNum()
|
||||
u32 sceAacInit(u32 parameters, u32 unknown1, u32 unknown2, u32 unknown3)
|
||||
{
|
||||
ERROR_LOG_REPORT(ME, "UNIMPL sceAacInit(parameters %08x, unknown1 %08x, unknown2 %08x, unknown3 %08x)", unknown1, unknown2, unknown3);
|
||||
if (!Memory::IsValidAddress(parameters))
|
||||
if (!Memory::IsValidAddress(parameters)){
|
||||
ERROR_LOG(ME, "sceAacInit() AAC Invalid parameters address %08x", parameters);
|
||||
return ERROR_AAC_INVALID_ADDRESS;
|
||||
}
|
||||
u64 startPos = (u64)Memory::Read_U32(parameters) << 32 | Memory::Read_U32(parameters + 4); // Audio data frame start position.
|
||||
u64 endPos = (u64)Memory::Read_U32(parameters + 8) << 32 | Memory::Read_U32(parameters + 12); // Audio data frame end position.
|
||||
int bufferAddr = Memory::Read_U32(parameters + 16); // Input AAC data buffer.
|
||||
|
Loading…
Reference in New Issue
Block a user