aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.h')
-rw-r--r--src/NDS.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/NDS.h b/src/NDS.h
index b9f8291..c0b429e 100644
--- a/src/NDS.h
+++ b/src/NDS.h
@@ -219,11 +219,12 @@ class ARMJIT;
class NDS
{
-public:
-
+private:
#ifdef JIT_ENABLED
bool EnableJIT;
#endif
+
+public:
int ConsoleType;
int CurCPU;
@@ -433,6 +434,11 @@ public:
virtual void ARM7IOWrite16(u32 addr, u16 val);
virtual void ARM7IOWrite32(u32 addr, u32 val);
+#ifdef JIT_ENABLED
+ [[nodiscard]] bool IsJITEnabled() const noexcept { return EnableJIT; }
+ void SetJITArgs(std::optional<JITArgs> args) noexcept;
+#endif
+
private:
void InitTimings();
u32 SchedListMask;