From 600ef9b132b6196a12c6240d1ea3492ed02402c6 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Thu, 30 Jan 2014 06:03:10 +0800 Subject: [PATCH] Add sceMpegRingbufferQueryMemSize and sceMpegQueryMemSize log information --- Core/HLE/sceMpeg.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceMpeg.cpp b/Core/HLE/sceMpeg.cpp index 44f56fe00..dc4510a0d 100644 --- a/Core/HLE/sceMpeg.cpp +++ b/Core/HLE/sceMpeg.cpp @@ -373,8 +373,9 @@ u32 __MpegRingbufferQueryMemSize(int packets) { } u32 sceMpegRingbufferQueryMemSize(int packets) { - DEBUG_LOG(ME, "sceMpegRingbufferQueryMemSize(%i)", packets); - return __MpegRingbufferQueryMemSize(packets); + u32 ret = __MpegRingbufferQueryMemSize(packets); + DEBUG_LOG(ME, "%i = sceMpegRingbufferQueryMemSize(%i)",ret,packets); + return ret; } u32 sceMpegRingbufferConstruct(u32 ringbufferAddr, u32 numPackets, u32 data, u32 size, u32 callbackAddr, u32 callbackArg) { @@ -1126,7 +1127,7 @@ u32 sceMpegFinish() u32 sceMpegQueryMemSize() { - DEBUG_LOG(ME, "sceMpegQueryMemSize()"); + DEBUG_LOG(ME, "%i = sceMpegQueryMemSize()",MPEG_MEMSIZE); return MPEG_MEMSIZE; }