mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-03 14:40:49 +00:00
Reduce sceMpegRingbufferAvailableSize() logspam.
It's really mostly interesting when it changes only.
This commit is contained in:
parent
323fc9a999
commit
5220115708
@ -915,7 +915,13 @@ int sceMpegRingbufferAvailableSize(u32 ringbufferAddr)
|
||||
}
|
||||
|
||||
hleEatCycles(2020);
|
||||
DEBUG_LOG(ME, "%i=sceMpegRingbufferAvailableSize(%08x)", ringbuffer->packetsFree, ringbufferAddr);
|
||||
static int lastFree = 0;
|
||||
if (lastFree != ringbuffer->packetsFree) {
|
||||
DEBUG_LOG(ME, "%i=sceMpegRingbufferAvailableSize(%08x)", ringbuffer->packetsFree, ringbufferAddr);
|
||||
lastFree = ringbuffer->packetsFree;
|
||||
} else {
|
||||
VERBOSE_LOG(ME, "%i=sceMpegRingbufferAvailableSize(%08x)", ringbuffer->packetsFree, ringbufferAddr);
|
||||
}
|
||||
return ringbuffer->packetsFree;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user