mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +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:
parent
cc992e5e4a
commit
5fbfd06171
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue