mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Allow number value for "wrmsr" option only for Intel.
This commit is contained in:
parent
12fb27e2cf
commit
3e3d34b3ce
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ void xmrig::RxConfig::readMSR(const rapidjson::Value &value)
|
|||
return;
|
||||
}
|
||||
|
||||
if (value.IsInt()) {
|
||||
if (value.IsInt() && Cpu::info()->vendor() == ICpuInfo::VENDOR_INTEL) {
|
||||
const int i = std::min(value.GetInt(), 15);
|
||||
if (i >= 0) {
|
||||
m_msrPreset.emplace_back(0x1a4, i);
|
||||
|
|
Loading…
Reference in a new issue