mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Move info output afer uciok
fixes #5393 : an incompatibility with an older GUI (Chesspartner) fixes #5396 : an incompatibility with an older GUI (Fritz9) closes https://github.com/official-stockfish/Stockfish/pull/5404 No functional change
This commit is contained in:
+3
-2
@@ -108,10 +108,11 @@ void UCIEngine::loop() {
|
|||||||
sync_cout << "id name " << engine_info(true) << "\n"
|
sync_cout << "id name " << engine_info(true) << "\n"
|
||||||
<< engine.get_options() << sync_endl;
|
<< engine.get_options() << sync_endl;
|
||||||
|
|
||||||
|
sync_cout << "uciok" << sync_endl;
|
||||||
|
|
||||||
|
// keep info strings after uciok for old GUIs
|
||||||
print_info_string(engine.numa_config_information_as_string());
|
print_info_string(engine.numa_config_information_as_string());
|
||||||
print_info_string(engine.thread_binding_information_as_string());
|
print_info_string(engine.thread_binding_information_as_string());
|
||||||
|
|
||||||
sync_cout << "uciok" << sync_endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (token == "setoption")
|
else if (token == "setoption")
|
||||||
|
|||||||
Reference in New Issue
Block a user