mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-02 12:33:56 +01:00
CPU autoconfig
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "jconf.h"
|
||||
#include "console.h"
|
||||
#include "donate-level.h"
|
||||
#include "autoAdjust.hpp"
|
||||
|
||||
#ifndef CONF_NO_HTTPD
|
||||
# include "httpd.h"
|
||||
@@ -99,6 +100,14 @@ int main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(jconf::inst()->NeedsAutoconf())
|
||||
{
|
||||
autoAdjust adjust;
|
||||
adjust.printConfig();
|
||||
win_exit();
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!minethd::self_test())
|
||||
{
|
||||
win_exit();
|
||||
|
||||
Reference in New Issue
Block a user