aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.c
diff options
context:
space:
mode:
authorneonloop2022-08-16 23:47:42 +0000
committerneonloop2022-08-16 23:47:42 +0000
commitbf61547f8ce8967c73c0568c05bfaa3d71c07f53 (patch)
tree1bc122b198865cc3311dee690d9387917fb0a5ee /source/cpuexec.c
parent479872a8d30b092671ed49868748e48830bc36da (diff)
parentce34e879e348cecd4e21329be5974cc4162fa6c4 (diff)
downloadsnes9x2005-performance.tar.gz
snes9x2005-performance.tar.bz2
snes9x2005-performance.zip
Merge branch 'dynarec' into performanceperformance
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)