From 7de557a6f7b032bd5bb5e0e5c8a6539b856d9c20 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 25 Jan 2011 00:58:13 +0200 Subject: [PATCH] drc: allow CFC1/2 to r0 --- libpcsxcore/new_dynarec/new_dynarec.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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 -- 2.39.5