Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 1201:5502572ce192
prev1184:0a306d645e2c
next1218:be02e87f9f87
author nkeynes
date Thu Dec 22 18:10:36 2011 +1000 (9 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/main.c Tue Nov 29 16:16:07 2011 +1000
1.2 +++ b/src/main.c Thu Dec 22 18:10:36 2011 +1000
1.3 @@ -359,9 +359,12 @@
1.4 }
1.5
1.6 sh4_set_core( sh4_core );
1.7 +
1.8 +#ifdef SH4_TRANSLATOR
1.9 if( sh4_core == SH4_TRANSLATE ) {
1.10 sh4_translate_set_profile_blocks( sh4_profile_blocks );
1.11 }
1.12 +#endif
1.13
1.14 /* If requested, start the gdb server immediately before we go into the main
1.15 * loop.
.