aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2011-01-19 17:26:57 +0200
committernotaz2011-01-24 00:38:48 +0200
commit76739a0818a86aa9f74715d2d07173cfc9854ac0 (patch)
tree5461009b537cc3ff4b6194ac656d7e9c05007bfa
parent1bd9ee68b03333894512373d14707d04951665af (diff)
downloadpcsx_rearmed-76739a0818a86aa9f74715d2d07173cfc9854ac0.tar.gz
pcsx_rearmed-76739a0818a86aa9f74715d2d07173cfc9854ac0.tar.bz2
pcsx_rearmed-76739a0818a86aa9f74715d2d07173cfc9854ac0.zip
drc: use correct clear size
-rw-r--r--libpcsxcore/new_dynarec/emu_if.c2
1 files changed, 2 insertions, 0 deletions
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 */