diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-10-26 20:47:30 +0100 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-10-26 20:47:30 +0100 |
commit | fc922ffb14da3aa087a7eebeb55d09cf3b856e0d (patch) | |
tree | 68ad639693d7b97d286e71364ac796bfaaeefd7b /src/Config.cpp | |
parent | 8d42b1c7d7466abf80a61ea51ee3006110c15b65 (diff) | |
parent | 49a96f41daa53ffa5dc4a46bdac4ee68f0b7eaee (diff) |
Merge branch 'master' into dsi_camera
# Conflicts:
# src/DSi_I2C.cpp
Diffstat (limited to 'src/Config.cpp')
-rw-r--r-- | src/Config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Config.cpp b/src/Config.cpp index 2c5fd2c..341b14c 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -46,7 +46,7 @@ int RandomizeMAC; #ifdef JIT_ENABLED int JIT_Enable = false; int JIT_MaxBlockSize = 32; -int JIT_BranchOptimisations = 2; +int JIT_BranchOptimisations = true; int JIT_LiteralOptimisations = true; int JIT_FastMemory = true; #endif @@ -71,7 +71,7 @@ ConfigEntry ConfigFile[] = #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_BranchOptimisations", 0, &JIT_BranchOptimisations, 1, NULL, 0}, {"JIT_LiteralOptimisations", 0, &JIT_LiteralOptimisations, 1, NULL, 0}, {"JIT_FastMemory", 0, &JIT_FastMemory, 1, NULL, 0}, #endif @@ -169,7 +169,7 @@ void Save() if (entry->Type == 0) fprintf(f, "%s=%d\n", entry->Name, *(int*)entry->Value); else - fprintf(f, "%s=%s\n", entry->Name, entry->Value); + fprintf(f, "%s=%s\n", entry->Name, (char*)entry->Value); entry++; } |