mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Avoid spamming sceDmacMemcpy() logging for 0 bytes.
Doesn't hurt anything.
This commit is contained in:
1 parent
2064bcd4f3
commit
8928665db9
1 file changed
+2
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user