mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Oops
This commit is contained in:
1 parent
2cc1bd327a
commit
222802524c
1 file changed
+3
-1
@@ -107,8 +107,10 @@ static int Replace_memcpy() {
|
||||
u32 srcPtr = PARAM(1);
|
||||
u32 bytes = PARAM(2);
|
||||
bool skip = false;
|
||||
if (!bytes)
|
||||
if (!bytes) {
|
||||
RETURN(destPtr);
|
||||
return 10;
|
||||
}
|
||||
|
||||
// Some games use memcpy on executable code. We need to flush emuhack ops.
|
||||
currentMIPS->InvalidateICache(srcPtr, bytes);
|
||||
|
||||
Reference in new issue
Block a user