mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Oops
This commit is contained in:
parent
2cc1bd327a
commit
222802524c
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue