Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 1003:7b2688cbbca3
prev996:2e8cf0a87243
next1004:eae001858134
author nkeynes
date Fri Mar 27 06:13:34 2009 +0000 (11 years ago)
permissions -rw-r--r--
last change Revert change to xltcache and fix breakpoint precision correctly
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Tue Mar 10 04:56:43 2009 +0000
1.2 +++ b/src/sh4/sh4x86.in Fri Mar 27 06:13:34 2009 +0000
1.3 @@ -600,6 +600,14 @@
1.4 if( !sh4_x86.in_delay_slot ) {
1.5 sh4_translate_add_recovery( (pc - sh4_x86.block_start_pc)>>1 );
1.6 }
1.7 +
1.8 + /* check for breakpoints at this pc */
1.9 + for( int i=0; i<sh4_breakpoint_count; i++ ) {
1.10 + if( sh4_breakpoints[i].address == pc ) {
1.11 + sh4_translate_emit_breakpoint(pc);
1.12 + break;
1.13 + }
1.14 + }
1.15 %%
1.16 /* ALU operations */
1.17 ADD Rm, Rn {:
.