filename | src/sh4/mmu.c |
changeset | 948:545c85cc56f1 |
prev | 946:d41ee7994db7 |
next | 951:63483914846f |
author | nkeynes |
date | Wed Jan 07 04:39:04 2009 +0000 (13 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Introduce sh4_finalize_instruction to clean-up on instruction exits Remove the sh4_flush_icache special cases, now works through the general case. |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/mmu.c Tue Jan 06 01:58:08 2009 +00001.2 +++ b/src/sh4/mmu.c Wed Jan 07 04:39:04 2009 +00001.3 @@ -277,7 +277,8 @@1.4 // current block1.5 mmu_set_tlb_enabled( val & MMUCR_AT );1.6 MMIO_WRITE( MMU, MMUCR, val );1.7 - sh4_flush_icache();1.8 + sh4_core_exit( CORE_EXIT_FLUSH_ICACHE );1.9 + xlat_flush_cache(); // If we're not running, flush the cache anyway1.10 }1.11 break;1.12 case CCR:
.