mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-30 16:11:01 +00:00
Support silencing the logging until the main function gets executed
This commit is contained in:
@@ -18,6 +18,7 @@ struct emulator_settings
|
||||
std::vector<std::wstring> arguments{};
|
||||
std::function<void(std::string_view)> stdout_callback{};
|
||||
bool disable_logging{false};
|
||||
bool silent_until_main{false};
|
||||
bool use_relative_time{false};
|
||||
};
|
||||
|
||||
@@ -102,6 +103,7 @@ public:
|
||||
bool buffer_stdout{false};
|
||||
bool fuzzing{false};
|
||||
bool switch_thread{false};
|
||||
bool silent_until_main{false};
|
||||
|
||||
void yield_thread();
|
||||
void perform_thread_switch();
|
||||
|
||||
Reference in New Issue
Block a user