Change default Sleep Timers Accuracy setting's value to "Usleep Only"

This commit is contained in:
Eladash 2019-08-13 17:03:53 +03:00 committed by Megamouse
parent a0f0c418d7
commit f0c267ecb0
2 changed files with 4 additions and 4 deletions

View File

@ -282,9 +282,9 @@ void fmt_class_string<sleep_timers_accuracy_level>::format(std::string& out, u64
{
switch (value)
{
case sleep_timers_accuracy_level::_as_host: return "Host";
case sleep_timers_accuracy_level::_usleep: return "Usleep";
case sleep_timers_accuracy_level::_all_timers: return "All";
case sleep_timers_accuracy_level::_as_host: return "As Host";
case sleep_timers_accuracy_level::_usleep: return "Usleep Only";
case sleep_timers_accuracy_level::_all_timers: return "All Timers";
}
return unknown;

View File

@ -418,7 +418,7 @@ struct cfg_root : cfg::node
cfg::_bool hle_lwmutex{this, "HLE lwmutex"}; // Force alternative lwmutex/lwcond implementation
cfg::_int<10, 1000> clocks_scale{this, "Clocks scale", 100}; // 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", sleep_timers_accuracy_level::_as_host}; // Affects sleep timers accuracy (to fix host's sleep accuracy)
cfg::_enum<sleep_timers_accuracy_level> sleep_timers_accuracy{this, "Sleep Timers Accuracy", sleep_timers_accuracy_level::_usleep};
} core{this};
struct node_vfs : cfg::node