32x: drc: bugfix
authornotaz <notasas@gmail.com>
Sun, 18 Oct 2009 20:48:03 +0000 (20:48 +0000)
committernotaz <notasas@gmail.com>
Sun, 18 Oct 2009 20:48:03 +0000 (20:48 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@819 be3aeb3a-fb24-0410-a615-afba39da0efa

cpu/sh2/compiler.c

index 332ba40..7c3a136 100644 (file)
@@ -189,7 +189,7 @@ static void *sh2_translate(SH2 *sh2, block_desc *other_block)
     if (delayed_op > 0)
       delayed_op--;
 
-    op = p32x_sh2_read16(pc, sh2->is_slave);
+    op = p32x_sh2_read16(pc, sh2);
 
 #if (DRC_DEBUG & 3)
     insns_compiled++;