Qt: disable TSX in the config.yml if not supported

This commit is contained in:
Megamouse 2020-05-18 15:02:44 +02:00
parent 1fffffad7a
commit 703841e251
3 changed files with 14 additions and 1 deletions

View file

@ -1,9 +1,15 @@
#include "stdafx.h"
#include "system_config.h"
#include "Utilities/StrUtil.h"
#include "Utilities/sysinfo.h"
cfg_root g_cfg;
bool cfg_root::node_core::has_rtm() const
{
return utils::has_rtm();
}
std::string cfg_root::node_vfs::get(const cfg::string& _cfg, const char* _def) const
{
auto [spath, sshared] = _cfg.get();