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

index f1bdbfc..9fdaa72 100644 (file)
@@ -8577,6 +8577,7 @@ int new_recompile_block(int addr)
       // Does the block continue due to a branch?
       for(j=i-1;j>=0;j--)
       {
+        if(ba[j]==start+i*4) done=j=0; // Branch into delay slot
         if(ba[j]==start+i*4+4) done=j=0;
         if(ba[j]==start+i*4+8) done=j=0;
       }