notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: don't clear ARM caches on whole translation cache - it's very slow
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
emu_if.c
diff --git
a/libpcsxcore/new_dynarec/emu_if.c
b/libpcsxcore/new_dynarec/emu_if.c
index
08d9f57
..
bdf0c8f
100644
(file)
--- a/
libpcsxcore/new_dynarec/emu_if.c
+++ b/
libpcsxcore/new_dynarec/emu_if.c
@@
-184,9
+184,9
@@
static void ari64_clear(u32 addr, u32 size)
evprintf("ari64_clear %08x %04x\n", addr, size);
/* check for RAM mirrors */
evprintf("ari64_clear %08x %04x\n", addr, size);
/* check for RAM mirrors */
- if ((
start
& ~0xe0000000) < 0x200000) {
-
start
&= ~0xe0000000;
-
start
|= 0x80000000;
+ if ((
addr
& ~0xe0000000) < 0x200000) {
+
addr
&= ~0xe0000000;
+
addr
|= 0x80000000;
}
start = addr >> 12;
}
start = addr >> 12;