diff options
author | neonloop | 2022-02-09 07:15:14 +0000 |
---|---|---|
committer | neonloop | 2022-02-09 07:15:14 +0000 |
commit | ce34e879e348cecd4e21329be5974cc4162fa6c4 (patch) | |
tree | 6bc241b726fc554a31d778642f45a2d1ea2309b4 /source/cpuexec.c | |
parent | 874c431fdaff24413886416ed3ffa3455681ac01 (diff) | |
download | snes9x2005-ce34e879e348cecd4e21329be5974cc4162fa6c4.tar.gz snes9x2005-ce34e879e348cecd4e21329be5974cc4162fa6c4.tar.bz2 snes9x2005-ce34e879e348cecd4e21329be5974cc4162fa6c4.zip |
Adds experimental ARM dynarecdynarec
Supports ARMv5 and higher, enable with USE_DYNAREC Makefile variable
Diffstat (limited to 'source/cpuexec.c')
-rw-r--r-- | source/cpuexec.c | 8 |
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) |