drc: merge Ari64's patch: 12_cycle_count
authornotaz <notasas@gmail.com>
Wed, 22 Jun 2011 13:08:46 +0000 (16:08 +0300)
committernotaz <notasas@gmail.com>
Thu, 7 Jul 2011 21:15:07 +0000 (00:15 +0300)
libpcsxcore/new_dynarec/new_dynarec.c

index 66603ea..7727384 100644 (file)
@@ -4857,7 +4857,7 @@ void do_cc(int i,signed char i_regmap[],int *adj,int addr,int taken,int invert)
   }
   else
   {
-    emit_cmpimm(HOST_CCREG,-2*(count+2));
+    emit_cmpimm(HOST_CCREG,-CLOCK_DIVIDER*(count+2));
     jaddr=(int)out;
     emit_jns(0);
   }