From a51291e69c12897fdf26df7fe9150dec3a508eec Mon Sep 17 00:00:00 2001 From: oioitff Date: Sat, 8 Jun 2013 01:43:39 +0800 Subject: [PATCH] Add Info logs for low level decode. --- Core/HLE/sceAtrac.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index 660dc561fb..f70800df9b 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -1334,7 +1334,7 @@ bool initAT3plusDecoder(Atrac *atrac, u32 dataSize = 0xffb4a8) int sceAtracLowLevelInitDecoder(int atracID, u32 paramsAddr) { - ERROR_LOG(HLE, "UNIMPL sceAtracLowLevelInitDecoder(%i, %08x)", atracID, paramsAddr); + INFO_LOG(HLE, "sceAtracLowLevelInitDecoder(%i, %08x)", atracID, paramsAddr); Atrac *atrac = getAtrac(atracID); if (atrac && Memory::IsValidAddress(paramsAddr)) { atrac->atracChannels = Memory::Read_U32(paramsAddr); @@ -1343,6 +1343,8 @@ int sceAtracLowLevelInitDecoder(int atracID, u32 paramsAddr) atrac->atracBytesPerFrame = atrac->atracBufSize; atrac->first.writableBytes = atrac->atracBytesPerFrame; atrac->CleanStuff(); + INFO_LOG(HLE, "Channels: %i outputChannels: %i bytesperFrame: %x", + atrac->atracChannels, atrac->atracOutputChannels, atrac->atracBytesPerFrame); #ifdef USE_FFMPEG if (atrac->codeType == PSP_MODE_AT_3) { WARN_LOG(HLE, "This is an atrac3 audio (low level)");