Search
lxdream.org :: lxdream/src/sh4/shadow.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/shadow.c
changeset 1201:5502572ce192
prev1198:407659e01ef0
next1202:01ae5cbad4c8
author nkeynes
date Thu Dec 22 18:10:36 2011 +1000 (11 years ago)
permissions -rw-r--r--
last change Only build shadow "core" if translation is enabled.
Guard call to sh4_translate_set_profile_blocks
Fix shadow compile when building without frame-address support (although
it's not going to actually work yet)
file annotate diff log raw
1.1 --- a/src/sh4/shadow.c Fri Dec 16 10:08:45 2011 +1000
1.2 +++ b/src/sh4/shadow.c Thu Dec 22 18:10:36 2011 +1000
1.3 @@ -34,7 +34,7 @@
1.4 #define EXCEPTION_EXIT(exc) do{ *(((void * volatile *)__builtin_frame_address(0))+1) = exc; } while(0)
1.5 #else
1.6 #define INIT_EXCEPTIONS(label)
1.7 -#define EXCEPTION_EXIT() sh4_core_exit(CORE_EXIT_EXCEPTION)
1.8 +#define EXCEPTION_EXIT(exc) sh4_core_exit(CORE_EXIT_EXCEPTION)
1.9 #endif
1.10
1.11 typedef enum {
.