Add accurate std output option

This gives us accurate stdout and stderr output.
Useful for terminal applications that take advantage of ncurses or
similar
This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:02 +02:00
1 parent 3bb9197e6a
commit 1b4e9434e4
4 files changed
+28 -11

No files matched your search

+6
View File
@@ -24,6 +24,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_GDBSERVER:
Config != 0 ? CTX->StartGdbServer() : CTX->StopGdbServer();
break;
case FEXCore::Config::CONFIG_ACCURATESTDOUT:
CTX->Config.AccurateSTDOut = Config != 0;
break;
default: LogMan::Msg::A("Unknown configuration option");
}
}
@@ -47,6 +50,9 @@ namespace FEXCore::Config {
case FEXCore::Config::CONFIG_GDBSERVER:
return CTX->GetGdbServerStatus();
break;
case FEXCore::Config::CONFIG_ACCURATESTDOUT:
return CTX->Config.AccurateSTDOut;
break;
default: LogMan::Msg::A("Unknown configuration option");
}