Add 64bit config option

Not currently wired up to anything
This commit is contained in:
Ryan Houdek committed 2020-05-14 00:55:52 -07:00
1 parent c555577d07
commit c171fbb71e
3 files changed
+9

No files matched your search

+6
View File
@@ -27,6 +27,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_UNIFIED_MEMORY:
CTX->Config.UnifiedMemory = Config != 0;
break;
case FEXCore::Config::CONFIG_IS64BIT_MODE:
CTX->Config.Is64BitMode = Config != 0;
break;
default: LogMan::Msg::A("Unknown configuration option");
}
}
@@ -62,6 +65,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_UNIFIED_MEMORY:
return CTX->Config.UnifiedMemory;
break;
case FEXCore::Config::CONFIG_IS64BIT_MODE:
return CTX->Config.Is64BitMode;
break;
default: LogMan::Msg::A("Unknown configuration option");
}
+2
View File
@@ -52,6 +52,8 @@ namespace FEXCore::Context {
bool UnifiedMemory {true};
std::string RootFSPath;
bool Is64BitMode {true};
// LLVM JIT options
bool LLVM_MemoryValidation {false};
bool LLVM_IRValidation {false};
+1
View File
@@ -13,6 +13,7 @@ namespace FEXCore::Config {
CONFIG_GDBSERVER,
CONFIG_ROOTFSPATH,
CONFIG_UNIFIED_MEMORY,
CONFIG_IS64BIT_MODE,
};
enum ConfigCore {