filename | src/sh4/sh4.c |
changeset | 577:a181aeacd6e8 |
prev | 571:9bc09948d0f2 |
next | 585:371342a39c09 |
author | nkeynes |
date | Mon Jan 14 10:23:49 2008 +0000 (15 years ago) |
branch | lxdream-mmu |
permissions | -rw-r--r-- |
last change | Remove asm file and convert to inline (easier to cope with platform conventions) Add breakpoint support Add MMU store-queue support |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4.c Thu Jan 10 08:28:37 2008 +00001.2 +++ b/src/sh4/sh4.c Mon Jan 14 10:23:49 2008 +00001.3 @@ -154,6 +154,9 @@1.4 {1.5 sh4_breakpoints[sh4_breakpoint_count].address = pc;1.6 sh4_breakpoints[sh4_breakpoint_count].type = type;1.7 + if( sh4_use_translator ) {1.8 + xlat_invalidate_word( pc );1.9 + }1.10 sh4_breakpoint_count++;1.11 }1.13 @@ -168,6 +171,9 @@1.14 sh4_breakpoints[i-1].address = sh4_breakpoints[i].address;1.15 sh4_breakpoints[i-1].type = sh4_breakpoints[i].type;1.16 }1.17 + if( sh4_use_translator ) {1.18 + xlat_invalidate_word( pc );1.19 + }1.20 sh4_breakpoint_count--;1.21 return TRUE;1.22 }
.