--- a/src/sh4/sh4.h Mon Dec 21 08:23:54 2009 +1000 +++ b/src/sh4/sh4.h Mon Sep 13 10:13:42 2010 +1000 @@ -97,6 +97,12 @@ extern const struct cpu_desc_struct sh4_cpu_desc; +typedef enum { + SH4_INTERPRET, + SH4_TRANSLATE, + SH4_SHADOW +} sh4core_t; + /** * Switch between translation and emulation execution modes. Note that this * should only be used while the system is stopped. If the system was built @@ -104,7 +110,7 @@ * * @param use TRUE for translation mode, FALSE for emulation mode. */ -void sh4_translate_set_enabled( gboolean use ); +void sh4_set_core( sh4core_t core ); /** * Test if system is currently using the translation engine.