Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 937:81b0c79d9788
prev936:f394309c399a
next939:6f2302afeb89
author nkeynes
date Sat Dec 27 03:14:59 2008 +0000 (13 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Update sh4x86 to take advantage of SR assumptions. nice 2% there :)
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Sat Dec 27 02:59:35 2008 +0000
1.2 +++ b/src/sh4/sh4.c Sat Dec 27 03:14:59 2008 +0000
1.3 @@ -108,7 +108,7 @@
1.4 sh4r.new_pc= 0xA0000002;
1.5 sh4r.vbr = 0x00000000;
1.6 sh4r.fpscr = 0x00040001;
1.7 - sh4r.sr = 0x700000F0;
1.8 + sh4_write_sr(0x700000F0);
1.9
1.10 /* Mem reset will do this, but if we want to reset _just_ the SH4... */
1.11 MMIO_WRITE( MMU, EXPEVT, EXC_POWER_RESET );
.