drc: rm an impossible condition
authornotaz <notasas@gmail.com>
Wed, 15 Apr 2026 00:02:14 +0000 (03:02 +0300)
committernotaz <notasas@gmail.com>
Wed, 15 Apr 2026 00:07:19 +0000 (03:07 +0300)
First instruction can't be a delay slot since long ago

libpcsxcore/new_dynarec/new_dynarec.c

index 6a08079..2c7bb70 100644 (file)
@@ -7555,14 +7555,6 @@ static noinline void pass3_register_alloc(struct compile_state *st, u_int addr)
   int hr;
   int i, j;
 
-  if (addr & 1) {
-    // First instruction is delay slot
-    cc=-1;
-    dops[1].bt=1;
-    ds=1;
-    st->unneeded_reg[0]=1;
-  }
-
   for(i=0;i<st->slen;i++)
   {
     if(dops[i].bt)