From ce34e879e348cecd4e21329be5974cc4162fa6c4 Mon Sep 17 00:00:00 2001 From: neonloop Date: Wed, 9 Feb 2022 07:15:14 +0000 Subject: Adds experimental ARM dynarec Supports ARMv5 and higher, enable with USE_DYNAREC Makefile variable --- source/cpuexec.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/cpuexec.c') 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) -- cgit v1.2.3