X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Femu_if.c;h=8e1545ed1603d0990a53db2632c9a0950a123984;hb=87c06e512fb1b757c1c4359e46359654cfcb8b82;hp=bdf0c8f53691bb4d60c52de130b2ce7764da218b;hpb=f76eeef94001323d5019a134c54847ece2493ae9;p=pcsx_rearmed.git diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index bdf0c8f5..8e1545ed 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; } @@ -438,7 +438,7 @@ end: printf("-- %d\n", bad); for (i = 0; i < 8; i++) printf("r%d=%08x r%2d=%08x r%2d=%08x r%2d=%08x\n", i, allregs_p[i], - i+8, allregs_p[i+8], i+16, allregs_p[i+16], i+24, allregs_p[i+23]); + i+8, allregs_p[i+8], i+16, allregs_p[i+16], i+24, allregs_p[i+24]); printf("PC: %08x/%08x, cycle %u\n", psxRegs.pc, ppc, psxRegs.cycle); dump_mem("/mnt/ntz/dev/pnd/tmp/psxram.dump", psxM, 0x200000); dump_mem("/mnt/ntz/dev/pnd/tmp/psxregs.dump", psxH, 0x10000);