From: notaz Date: Tue, 22 Mar 2011 16:48:48 +0000 (+0200) Subject: r3000a: reset cpu after setting up registers X-Git-Tag: r9~98 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c24732c066beea96215e4c232af6debf1deb5f69;p=pcsx_rearmed.git r3000a: reset cpu after setting up registers drc depends on some of them --- 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();