From: notaz Date: Wed, 22 Jun 2011 14:17:42 +0000 (+0300) Subject: drc: merge Ari64's patch: 16_continue_after_branch_into_delay_slot X-Git-Tag: r9~67 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a70696411b92af26a72c2b28212e4fe73cdd2d8;p=pcsx_rearmed.git drc: merge Ari64's patch: 16_continue_after_branch_into_delay_slot --- diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index f1bdbfc2..9fdaa72b 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -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; }