From: notaz Date: Wed, 19 Jan 2011 15:26:57 +0000 (+0200) Subject: drc: use correct clear size X-Git-Tag: r5~23 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76739a0818a86aa9f74715d2d07173cfc9854ac0;p=pcsx_rearmed.git drc: use correct clear size --- diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index d2ff36a0..572c4826 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -192,6 +192,8 @@ static void ari64_clear(u32 addr, u32 size) { u32 start, end; + size *= 4; /* PCSX uses DMA units */ + evprintf("ari64_clear %08x %04x\n", addr, size); /* check for RAM mirrors */