drc: merge Ari64's patch: 20_delay_slot_64bit_register_fix
authornotaz <notasas@gmail.com>
Wed, 22 Jun 2011 16:02:33 +0000 (19:02 +0300)
committernotaz <notasas@gmail.com>
Thu, 7 Jul 2011 21:15:08 +0000 (00:15 +0300)
libpcsxcore/new_dynarec/new_dynarec.c

index b0c0b4c..c1fa775 100644 (file)
@@ -8688,7 +8688,9 @@ int new_recompile_block(int addr)
       }
       if(temp_is32!=current.is32) {
         //printf("dumping 32-bit regs (%x)\n",start+i*4);
       }
       if(temp_is32!=current.is32) {
         //printf("dumping 32-bit regs (%x)\n",start+i*4);
-        #ifdef DESTRUCTIVE_WRITEBACK
+        #ifndef DESTRUCTIVE_WRITEBACK
+        if(ds)
+        #endif
         for(hr=0;hr<HOST_REGS;hr++)
         {
           int r=current.regmap[hr];
         for(hr=0;hr<HOST_REGS;hr++)
         {
           int r=current.regmap[hr];
@@ -8700,7 +8702,6 @@ int new_recompile_block(int addr)
             }
           }
         }
             }
           }
         }
-        #endif
         current.is32=temp_is32;
       }
     }
         current.is32=temp_is32;
       }
     }