From 2346c8be20939fe9c34cee441ac11644ec43cc58 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Tue, 24 Oct 2017 21:24:37 +0200 Subject: add eon support to amd backend - add compile parameter to support aeon and xmr - update auto suggestion to handle aeon --- xmrstak/backend/amd/minethd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmrstak/backend/amd/minethd.cpp') diff --git a/xmrstak/backend/amd/minethd.cpp b/xmrstak/backend/amd/minethd.cpp index e262e0e..295ad31 100644 --- a/xmrstak/backend/amd/minethd.cpp +++ b/xmrstak/backend/amd/minethd.cpp @@ -183,7 +183,7 @@ void minethd::work_main() uint64_t iCount = 0; cryptonight_ctx* cpu_ctx; cpu_ctx = cpu::minethd::minethd_alloc_ctx(); - cn_hash_fun hash_fun = cpu::minethd::func_selector(::jconf::inst()->HaveHardwareAes(), true /*bNoPrefetch*/); + cn_hash_fun hash_fun = cpu::minethd::func_selector(::jconf::inst()->HaveHardwareAes(), true /*bNoPrefetch*/, ::jconf::inst()->IsCurrencyXMR()); globalStates::inst().iConsumeCnt++; while (bQuit == 0) -- cgit v1.1