From: notaz Date: Mon, 24 Jan 2011 22:58:13 +0000 (+0200) Subject: drc: allow CFC1/2 to r0 X-Git-Tag: r5~13 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de557a6f7b032bd5bb5e0e5c8a6539b856d9c20;p=pcsx_rearmed.git drc: allow CFC1/2 to r0 --- diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 69e829f9..aa1cc38e 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -1783,16 +1783,17 @@ void cop1_alloc(struct regstat *current,int i) alloc_reg(current,i,CSREG); // Load status if(opcode2[i]<3) // MFC1/DMFC1/CFC1 { - assert(rt1[i]); - clear_const(current,rt1[i]); - if(opcode2[i]==1) { - alloc_reg64(current,i,rt1[i]); // DMFC1 - current->is32&=~(1LL<is32|=1LL<is32&=~(1LL<is32|=1LL<3) // MTC1/DMTC1/CTC1