From 4cb76aa4e037a59c85d0fa256fb85fe11d3405af Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 14 Dec 2010 16:53:58 +0200 Subject: drc: use correct RAM size ..because some games like to use the mirrors --- libpcsxcore/new_dynarec/emu_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpcsxcore/new_dynarec/emu_if.c') diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index bdf0c8f..68b0e82 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -184,8 +184,8 @@ static void ari64_clear(u32 addr, u32 size) evprintf("ari64_clear %08x %04x\n", addr, size); /* check for RAM mirrors */ - if ((addr & ~0xe0000000) < 0x200000) { - addr &= ~0xe0000000; + if ((addr & ~0xe0600000) < 0x200000) { + addr &= ~0xe0600000; addr |= 0x80000000; } -- cgit v1.2.3