drc: allow move-to-r0 condition
authornotaz <notasas@gmail.com>
Fri, 14 Jan 2011 11:00:03 +0000 (13:00 +0200)
committernotaz <notasas@gmail.com>
Sat, 15 Jan 2011 22:03:53 +0000 (00:03 +0200)
some games are doing that.

libpcsxcore/new_dynarec/new_dynarec.c

index 6061f51..f8a67ff 100644 (file)
@@ -3692,7 +3692,7 @@ void mov_assemble(int i,struct regstat *i_regs)
 {
   //if(opcode2[i]==0x10||opcode2[i]==0x12) { // MFHI/MFLO
   //if(opcode2[i]==0x11||opcode2[i]==0x13) { // MTHI/MTLO
-  assert(rt1[i]>0);
+  //assert(rt1[i]>0);
   if(rt1[i]) {
     signed char sh,sl,th,tl;
     th=get_reg(i_regs->regmap,rt1[i]|64);