aboutsummaryrefslogtreecommitdiff
path: root/src/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Config.cpp')
-rw-r--r--src/Config.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index 5745f34..de1c70d 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -37,6 +37,14 @@ char DSiBIOS7Path[1024];
char DSiFirmwarePath[1024];
char DSiNANDPath[1024];
+#ifdef JIT_ENABLED
+int JIT_Enable = false;
+int JIT_MaxBlockSize = 32;
+int JIT_BranchOptimisations = 2;
+int JIT_LiteralOptimisations = true;
+int JIT_FastMemory = true;
+#endif
+
ConfigEntry ConfigFile[] =
{
{"BIOS9Path", 1, BIOS9Path, 0, "", 1023},
@@ -48,6 +56,14 @@ ConfigEntry ConfigFile[] =
{"DSiFirmwarePath", 1, DSiFirmwarePath, 0, "", 1023},
{"DSiNANDPath", 1, DSiNANDPath, 0, "", 1023},
+#ifdef JIT_ENABLED
+ {"JIT_Enable", 0, &JIT_Enable, 0, NULL, 0},
+ {"JIT_MaxBlockSize", 0, &JIT_MaxBlockSize, 32, NULL, 0},
+ {"JIT_BranchOptimisations", 0, &JIT_BranchOptimisations, 2, NULL, 0},
+ {"JIT_LiteralOptimisations", 0, &JIT_LiteralOptimisations, 1, NULL, 0},
+ {"JIT_FastMemory", 0, &JIT_FastMemory, 1, NULL, 0},
+#endif
+
{"", -1, NULL, 0, NULL, 0}
};