From: notaz Date: Wed, 22 Jun 2011 12:55:08 +0000 (+0300) Subject: drc: merge Ari64's patch: 03_needed_again X-Git-Tag: r9~74 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7217e13a765d299feaac0f7646880e53039d9e2;p=pcsx_rearmed.git drc: merge Ari64's patch: 03_needed_again --- diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 2368a68a..95e51042 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -719,12 +719,6 @@ int needed_again(int r, int i) int j; int b=-1; int rn=10; - int hr; - u_char hsn[MAXREG+1]; - int preferred_reg; - - memset(hsn,10,sizeof(hsn)); - lsn(hsn,i,&preferred_reg); if(i>0&&(itype[i-1]==UJUMP||itype[i-1]==RJUMP||(source[i-1]>>16)==0x1000)) { @@ -777,11 +771,7 @@ int needed_again(int r, int i) } } }*/ - for(hr=0;hr