From 8928665db93f90cfc10b98a02ec4fb32c085ea81 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 16 Feb 2014 09:01:23 -0800 Subject: [PATCH] Avoid spamming sceDmacMemcpy() logging for 0 bytes. Doesn't hurt anything. --- Core/HLE/sceDmac.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceDmac.cpp b/Core/HLE/sceDmac.cpp index d3ad3c81c2..d28d7730df 100644 --- a/Core/HLE/sceDmac.cpp +++ b/Core/HLE/sceDmac.cpp @@ -65,7 +65,8 @@ int __DmacMemcpy(u32 dst, u32 src, u32 size) { u32 sceDmacMemcpy(u32 dst, u32 src, u32 size) { if (size == 0) { - ERROR_LOG(HLE, "sceDmacMemcpy(dest=%08x, src=%08x, size=%i): invalid size", dst, src, size); + // Some games seem to do this frequently. + DEBUG_LOG(HLE, "sceDmacMemcpy(dest=%08x, src=%08x, size=%i): invalid size", dst, src, size); return SCE_KERNEL_ERROR_INVALID_SIZE; } if (!Memory::IsValidAddress(dst) || !Memory::IsValidAddress(src)) {