Search
lxdream.org :: lxdream/src/sh4/sh4.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4.c
changeset 790:a0c7d28bbb0c
prev740:dd11269ee48b
next822:6e0536758465
author nkeynes
date Sat Aug 09 07:39:47 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Fix ITLB lookup ASID behaviour (was somewhat back-to-front)
file annotate diff log raw
1.1 --- a/src/sh4/sh4.c Wed Jul 16 10:40:10 2008 +0000
1.2 +++ b/src/sh4/sh4.c Sat Aug 09 07:39:47 2008 +0000
1.3 @@ -215,8 +215,10 @@
1.4 {
1.5 #ifdef SH4_TRANSLATOR
1.6 // FIXME: Special case needs to be generalized
1.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 #endif
1.15 }
.