From 76739a0818a86aa9f74715d2d07173cfc9854ac0 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 19 Jan 2011 17:26:57 +0200 Subject: drc: use correct clear size --- libpcsxcore/new_dynarec/emu_if.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index d2ff36a..572c482 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 */ -- cgit v1.2.3