aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cpuexec.c')
-rw-r--r--source/cpuexec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/cpuexec.c b/source/cpuexec.c
index 2bbf90a..15c9157 100644
--- a/source/cpuexec.c
+++ b/source/cpuexec.c
@@ -11,6 +11,7 @@
#include "fxemu.h"
#include "sa1.h"
#include "spc7110.h"
+#include "arm_dynarec/dynaexec.h"
void S9xMainLoop_SA1_SFX(void);
void S9xMainLoop_SA1_NoSFX(void);
@@ -28,6 +29,13 @@ void S9xMainLoop_NoSA1_NoSFX(void);
*/
void S9xMainLoop()
{
+#ifdef USE_DYNAREC
+ if (Settings.EnableDynarec)
+ {
+ S9xMainLoop_Dyna();
+ }
+ else
+#endif
if (Settings.SA1)
{
if (Settings.SuperFX)