summaryrefslogtreecommitdiffstats
path: root/backend/cpu/minethd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/cpu/minethd.cpp')
-rw-r--r--backend/cpu/minethd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/cpu/minethd.cpp b/backend/cpu/minethd.cpp
index 7991d86..3ffdf99 100644
--- a/backend/cpu/minethd.cpp
+++ b/backend/cpu/minethd.cpp
@@ -31,6 +31,7 @@
#include "../IBackend.hpp"
#include "../GlobalStates.hpp"
#include "../../ConfigEditor.hpp"
+#include "../../Params.hpp"
#include "../../jconf.h"
#include "../../executor.h"
@@ -247,14 +248,14 @@ std::vector<IBackend*> minethd::thread_starter(uint32_t threadOffset, miner_work
{
std::vector<IBackend*> pvThreads;
- if(!ConfigEditor::file_exist("cpu.txt"))
+ if(!ConfigEditor::file_exist(Params::inst().configFileCPU))
{
autoAdjust adjust;
if(!adjust.printConfig())
return pvThreads;
}
- if(!xmrstak::cpu::jconf::inst()->parse_config("cpu.txt"))
+ if(!jconf::inst()->parse_config())
{
win_exit();
}
OpenPOWER on IntegriCloud