filename | src/main.c |
changeset | 1201:5502572ce192 |
prev | 1184:0a306d645e2c |
next | 1218:be02e87f9f87 |
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/main.c Tue Nov 29 16:16:07 2011 +10001.2 +++ b/src/main.c Thu Dec 22 18:10:36 2011 +10001.3 @@ -359,9 +359,12 @@1.4 }1.6 sh4_set_core( sh4_core );1.7 +1.8 +#ifdef SH4_TRANSLATOR1.9 if( sh4_core == SH4_TRANSLATE ) {1.10 sh4_translate_set_profile_blocks( sh4_profile_blocks );1.11 }1.12 +#endif1.14 /* If requested, start the gdb server immediately before we go into the main1.15 * loop.
.