filename | src/sh4/sh4.c |
changeset | 941:c67574ed4355 |
prev | 939:6f2302afeb89 |
next | 948:545c85cc56f1 |
author | nkeynes |
date | Sat Jan 03 08:55:15 2009 +0000 (14 years ago) |
branch | lxdream-mem |
permissions | -rw-r--r-- |
last change | Implement CORE_EXIT_EXCEPTION for use when direct frame messing about doesn't work |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4.c Sat Jan 03 03:30:26 2009 +00001.2 +++ b/src/sh4/sh4.c Sat Jan 03 08:55:15 2009 +00001.3 @@ -202,7 +202,11 @@1.4 if( sh4_running ) {1.5 #ifdef SH4_TRANSLATOR1.6 if( sh4_use_translator ) {1.7 - sh4_translate_exit_recover();1.8 + if( exit_code == CORE_EXIT_EXCEPTION ) {1.9 + sh4_translate_exception_exit_recover();1.10 + } else {1.11 + sh4_translate_exit_recover();1.12 + }1.13 }1.14 #endif1.15 // longjmp back into sh4_run_slice
.