Add random sleep to game main thread on first boot when using LLE modules (#7199)
* Add random delay to app main thread * Suggestions * Remove randomness, only delay with lle * Apply suggestions * Fix clang format * Fix compilation (again) * Remove unused include
This commit is contained in:
parent
f346949989
commit
a177769c3b
9 changed files with 87 additions and 6 deletions
|
@ -141,6 +141,7 @@ void LogSettings() {
|
|||
log_setting("System_RegionValue", values.region_value.GetValue());
|
||||
log_setting("System_PluginLoader", values.plugin_loader_enabled.GetValue());
|
||||
log_setting("System_PluginLoaderAllowed", values.allow_plugin_loader.GetValue());
|
||||
log_setting("Debugging_DelayStartForLLEModules", values.delay_start_for_lle_modules.GetValue());
|
||||
log_setting("Debugging_UseGdbstub", values.use_gdbstub.GetValue());
|
||||
log_setting("Debugging_GdbstubPort", values.gdbstub_port.GetValue());
|
||||
}
|
||||
|
|
|
@ -529,6 +529,7 @@ struct Values {
|
|||
// Debugging
|
||||
bool record_frame_times;
|
||||
std::unordered_map<std::string, bool> lle_modules;
|
||||
Setting<bool> delay_start_for_lle_modules{true, "delay_start_for_lle_modules"};
|
||||
Setting<bool> use_gdbstub{false, "use_gdbstub"};
|
||||
Setting<u16> gdbstub_port{24689, "gdbstub_port"};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue