Search
lxdream.org :: lxdream/src/asic.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/asic.c
changeset 255:ade289880b8d
prev244:4c2b7291d3b0
next279:7bb759c23271
author nkeynes
date Thu Dec 21 11:12:19 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix reset PC when invoked from the SH4 itself
file annotate diff log raw
1.1 --- a/src/asic.c Tue Dec 19 09:51:35 2006 +0000
1.2 +++ b/src/asic.c Thu Dec 21 11:12:19 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: asic.c,v 1.21 2006-12-19 09:51:35 nkeynes Exp $
1.6 + * $Id: asic.c,v 1.22 2006-12-21 11:12:19 nkeynes Exp $
1.7 *
1.8 * Support for the miscellaneous ASIC functions (Primarily event multiplexing,
1.9 * and DMA).
1.10 @@ -216,6 +216,7 @@
1.11 case SYSRESET:
1.12 if( val == 0x7611 ) {
1.13 dreamcast_reset();
1.14 + sh4r.new_pc = sh4r.pc;
1.15 } else {
1.16 WARN( "Unknown value %08X written to SYSRESET port", val );
1.17 }
.