Make sleep timers accuracy dynamically adjustable
This commit is contained in:
+2
-2
@@ -427,9 +427,9 @@ struct cfg_root : cfg::node
|
|||||||
cfg::_int<10, 3000> clocks_scale{this, "Clocks scale", 100, true}; // Changing this from 100 (percentage) may affect game speed in unexpected ways
|
cfg::_int<10, 3000> clocks_scale{this, "Clocks scale", 100, true}; // Changing this from 100 (percentage) may affect game speed in unexpected ways
|
||||||
cfg::_enum<sleep_timers_accuracy_level> sleep_timers_accuracy{this, "Sleep Timers Accuracy",
|
cfg::_enum<sleep_timers_accuracy_level> sleep_timers_accuracy{this, "Sleep Timers Accuracy",
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
sleep_timers_accuracy_level::_as_host};
|
sleep_timers_accuracy_level::_as_host, true};
|
||||||
#else
|
#else
|
||||||
sleep_timers_accuracy_level::_usleep};
|
sleep_timers_accuracy_level::_usleep, true};
|
||||||
#endif
|
#endif
|
||||||
} core{this};
|
} core{this};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user