| 271 | } |
| 272 | |
| 273 | Filesystem_Stream::OutputStream Game_Config::GetGlobalConfigFileOutput() { |
| 274 | auto fs = GetGlobalConfigFilesystem(); |
| 275 | |
| 276 | if (fs) { |
| 277 | return fs.OpenOutputStream(config_name, std::ios_base::out); |
| 278 | } |
| 279 | |
| 280 | return Filesystem_Stream::OutputStream(); |
| 281 | } |
| 282 | |
| 283 | Filesystem_Stream::OutputStream& Game_Config::GetLogFileOutput() { |
| 284 | // Invalid stream that consumes the output when logging is disabled or an error occurs |
nothing calls this directly
no test coverage detected