From c24732c066beea96215e4c232af6debf1deb5f69 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 22 Mar 2011 18:48:48 +0200 Subject: [PATCH] r3000a: reset cpu after setting up registers drc depends on some of them --- libpcsxcore/r3000a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c index 1143b810..98aff3a3 100644 --- a/libpcsxcore/r3000a.c +++ b/libpcsxcore/r3000a.c @@ -48,8 +48,6 @@ int psxInit() { } void psxReset() { - psxCpu->Reset(); - psxMemReset(); memset(&psxRegs, 0, sizeof(psxRegs)); @@ -59,6 +57,8 @@ void psxReset() { psxRegs.CP0.r[12] = 0x10900000; // COP0 enabled | BEV = 1 | TS = 1 psxRegs.CP0.r[15] = 0x00000002; // PRevID = Revision ID, same as R3000A + psxCpu->Reset(); + psxHwReset(); psxBiosInit(); -- 2.39.5