notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35775df
)
r3000a: reset cpu after setting up registers
author
notaz
<notasas@gmail.com>
Tue, 22 Mar 2011 16:48:48 +0000
(18:48 +0200)
committer
notaz
<notasas@gmail.com>
Tue, 22 Mar 2011 16:48:48 +0000
(18:48 +0200)
drc depends on some of them
libpcsxcore/r3000a.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/r3000a.c
b/libpcsxcore/r3000a.c
index
1143b81
..
98aff3a
100644
(file)
--- 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();