mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-11-22 10:53:56 +01:00
Add SSE2 check. If we are checking, we might just as well do it thoroughly.
This commit is contained in:
+6
-7
@@ -27,7 +27,6 @@
|
||||
#ifdef _WIN32
|
||||
void win_exit()
|
||||
{
|
||||
|
||||
printer::inst()->print_str("Press any key to exit.");
|
||||
get_key();
|
||||
return;
|
||||
@@ -64,6 +63,12 @@ int main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!minethd::self_test())
|
||||
{
|
||||
win_exit();
|
||||
return 0;
|
||||
}
|
||||
|
||||
printer::inst()->print_str("-------------------------------------------------------------------\n");
|
||||
printer::inst()->print_str("XMR-Stak-CPU mining software, CPU Version.\n");
|
||||
printer::inst()->print_str("Based on CPU mining code by wolf9466 (heavily optimized by myself).\n");
|
||||
@@ -77,12 +82,6 @@ int main(int argc, char *argv[])
|
||||
printer::inst()->print_str("'c' - connection\n");
|
||||
printer::inst()->print_str("-------------------------------------------------------------------\n");
|
||||
|
||||
if (!minethd::self_test())
|
||||
{
|
||||
win_exit();
|
||||
return 0;
|
||||
}
|
||||
|
||||
executor::inst()->ex_start();
|
||||
|
||||
int key;
|
||||
|
||||
Reference in New Issue
Block a user