Search
lxdream.org :: lxdream/src/sh4/sh4mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mem.c
changeset 740:dd11269ee48b
prev736:a02d1475ccfd
next828:b42865f00fb5
author nkeynes
date Wed Jul 16 10:40:10 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Rationalize the two SH4 run slice impls into sh4.c, and tidy up the vm exits.
Fixes broken soft-reset with emulator core
Fixes broken build without translator
file annotate diff log raw
1.1 --- a/src/sh4/sh4mem.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/sh4mem.c Wed Jul 16 10:40:10 2008 +0000
1.3 @@ -39,12 +39,12 @@
1.4 #define CHECK_READ_WATCH( addr, size ) \
1.5 if( mem_is_watched(addr,size,WATCH_READ) != NULL ) { \
1.6 WARN( "Watch triggered at %08X by %d byte read", addr, size ); \
1.7 - dreamcast_stop(); \
1.8 + sh4_core_exit(CORE_EXIT_HALT); \
1.9 }
1.10 #define CHECK_WRITE_WATCH( addr, size, val ) \
1.11 if( mem_is_watched(addr,size,WATCH_WRITE) != NULL ) { \
1.12 WARN( "Watch triggered at %08X by %d byte write <= %0*X", addr, size, size*2, val ); \
1.13 - dreamcast_stop(); \
1.14 + sh4_core_exit(CORE_EXIT_HALT); \
1.15 }
1.16 #else
1.17 #define CHECK_READ_WATCH( addr, size )
.