aboutsummaryrefslogtreecommitdiff
path: root/src/ARM.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-11-17 18:15:50 +0100
committerArisotura <thetotalworm@gmail.com>2021-11-17 18:15:50 +0100
commitc1dcd585be0d7789bf68f098c443b7cadff28965 (patch)
tree9c467b7397fe4f1d67abca2fc3a4bb12bfd670ee /src/ARM.cpp
parent53dfcfb18a0a438ae04be3141ae446e4e43c610a (diff)
decouple JIT from Config. bahahahahah
Diffstat (limited to 'src/ARM.cpp')
-rw-r--r--src/ARM.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp
index ab13e7d..811dd7c 100644
--- a/src/ARM.cpp
+++ b/src/ARM.cpp
@@ -22,7 +22,6 @@
#include "DSi.h"
#include "ARM.h"
#include "ARMInterpreter.h"
-#include "Config.h"
#include "AREngine.h"
#include "ARMJIT.h"
#include "Config.h"
@@ -215,7 +214,7 @@ void ARM::DoSavestate(Savestate* file)
file->VarArray(R_UND, 3*sizeof(u32));
file->Var32(&CurInstr);
#ifdef JIT_ENABLED
- if (!file->Saving && Config::JIT_Enable)
+ if (!file->Saving && NDS::EnableJIT)
{
// hack, the JIT doesn't really pipeline
// but we still want JIT save states to be