mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 04:05:17 +02:00
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:
1 parent
3bb9197e6a
commit
1b4e9434e4
4 files changed
+28
-11
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user