mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-23 09:00:39 +02:00
Add 64bit config option
Not currently wired up to anything
This commit is contained in:
1 parent
c555577d07
commit
c171fbb71e
3 files changed
+9
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace FEXCore::Config {
|
||||
CONFIG_GDBSERVER,
|
||||
CONFIG_ROOTFSPATH,
|
||||
CONFIG_UNIFIED_MEMORY,
|
||||
CONFIG_IS64BIT_MODE,
|
||||
};
|
||||
|
||||
enum ConfigCore {
|
||||
|
||||
Reference in new issue
Block a user