Adds unified memory option without supporting it yet

This allows you to set the option from the frontend but it doesn't yet
do anything.
This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:16 +02:00
1 parent c7c5d8bdd7
commit 0eb5e2b332
3 files changed
+8

No files matched your search

+6
View File
@@ -27,6 +27,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_ACCURATESTDOUT:
CTX->Config.AccurateSTDOut = Config != 0;
break;
case FEXCore::Config::CONFIG_UNIFIED_MEMORY:
CTX->Config.UnifiedMemory = Config != 0;
break;
default: LogMan::Msg::A("Unknown configuration option");
}
}
@@ -62,6 +65,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_ACCURATESTDOUT:
return CTX->Config.AccurateSTDOut;
break;
case FEXCore::Config::CONFIG_UNIFIED_MEMORY:
return CTX->Config.UnifiedMemory;
break;
default: LogMan::Msg::A("Unknown configuration option");
}