diff --git a/Core/HLE/sceAudiocodec.cpp b/Core/HLE/sceAudiocodec.cpp index ae19fd005d..4d2dad3600 100644 --- a/Core/HLE/sceAudiocodec.cpp +++ b/Core/HLE/sceAudiocodec.cpp @@ -79,7 +79,7 @@ int sceAudiocodecInit(u32 ctxPtr, int codec) { auto decoder = new SimpleAudio(ctxPtr, codec); audioList.push_front(decoder); INFO_LOG(ME, "sceAudiocodecInit(%08x, %i (%s))", ctxPtr, codec, GetCodecName(codec)); - DEBUG_LOG(ME, "Number of playing sceAudioCodec audios : %d", audioList.size()); + DEBUG_LOG(ME, "Number of playing sceAudioCodec audios : %d", (int)audioList.size()); return 0; } ERROR_LOG_REPORT(ME, "sceAudiocodecInit(%08x, %i (%s)): Unknown audio codec %i", ctxPtr, codec, GetCodecName(codec), codec); diff --git a/Core/HLE/sceMp3.cpp b/Core/HLE/sceMp3.cpp index d9d51d75df..8e81e76d3a 100644 --- a/Core/HLE/sceMp3.cpp +++ b/Core/HLE/sceMp3.cpp @@ -193,7 +193,7 @@ u32 sceMp3ReserveMp3Handle(u32 mp3Addr) { Au->PCMBuf = Memory::Read_U32(mp3Addr + 24); // Output PCM data buffer. Au->PCMBufSize = Memory::Read_U32(mp3Addr + 28); // Output PCM data buffer size. - DEBUG_LOG(ME, "startPos %x endPos %x mp3buf %08x mp3bufSize %08x PCMbuf %08x PCMbufSize %08x", + DEBUG_LOG(ME, "startPos %llx endPos %llx mp3buf %08x mp3bufSize %08x PCMbuf %08x PCMbufSize %08x", Au->startPos, Au->endPos, Au->AuBuf, Au->AuBufSize, Au->PCMBuf, Au->PCMBufSize); Au->audioType = PSP_CODEC_MP3; diff --git a/Core/HLE/sceMp4.cpp b/Core/HLE/sceMp4.cpp index 24aaab1004..01563dff71 100644 --- a/Core/HLE/sceMp4.cpp +++ b/Core/HLE/sceMp4.cpp @@ -196,12 +196,12 @@ u32 sceAacInit(u32 id) return ERROR_AAC_INVALID_ADDRESS; } if (aac->startPos < 0 || aac->startPos > aac->endPos) { - ERROR_LOG(ME, "sceAacInit() AAC INVALID startPos %i endPos %i", aac->startPos, aac->endPos); + ERROR_LOG(ME, "sceAacInit() AAC INVALID startPos %lli endPos %lli", aac->startPos, aac->endPos); delete aac; return ERROR_AAC_INVALID_PARAMETER; } if (aac->AuBufSize < 8192 || aac->PCMBufSize < 8192) { - ERROR_LOG(ME, "sceAacInit() AAC INVALID PARAMETER, bufferSize %i outputSize %i reserved %i", aac->AuBufSize, aac->PCMBufSize); + ERROR_LOG(ME, "sceAacInit() AAC INVALID PARAMETER, bufferSize %i outputSize %i", aac->AuBufSize, aac->PCMBufSize); delete aac; return ERROR_AAC_INVALID_PARAMETER; } @@ -211,7 +211,7 @@ u32 sceAacInit(u32 id) return ERROR_AAC_INVALID_PARAMETER; } - DEBUG_LOG(ME, "startPos %x endPos %x AuBuf %08x AuBufSize %08x PCMbuf %08x PCMbufSize %08x freq %d", + DEBUG_LOG(ME, "startPos %llx endPos %llx AuBuf %08x AuBufSize %08x PCMbuf %08x PCMbufSize %08x freq %d", aac->startPos, aac->endPos, aac->AuBuf, aac->AuBufSize, aac->PCMBuf, aac->PCMBufSize, aac->freq); aac->Channels = 2;