filename | src/sh4/sh4.c |
changeset | 790:a0c7d28bbb0c |
prev | 740:dd11269ee48b |
next | 822:6e0536758465 |
author | nkeynes |
date | Wed Jul 30 00:11:32 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Don't invoke sh4_translate_flush_cache() when we're not actually using the translator |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4.c Wed Jul 16 10:40:10 2008 +00001.2 +++ b/src/sh4/sh4.c Wed Jul 30 00:11:32 2008 +00001.3 @@ -215,8 +215,10 @@1.4 {1.5 #ifdef SH4_TRANSLATOR1.6 // FIXME: Special case needs to be generalized1.7 - if( sh4_translate_flush_cache() ) {1.8 - longjmp(sh4_exit_jmp_buf, CORE_EXIT_CONTINUE);1.9 + if( sh4_use_translator ) {1.10 + if( sh4_translate_flush_cache() ) {1.11 + longjmp(sh4_exit_jmp_buf, CORE_EXIT_CONTINUE);1.12 + }1.13 }1.14 #endif1.15 }
.