misc.c: init_all()
This commit is contained in:
@@ -277,17 +277,14 @@ int main(int __unused ac, __unused char**av)
|
||||
// run = atoi(av[2]) & 3;
|
||||
printf("depth = %d run = %x sf = %s\n", depth, run, sf_run? "true": "false");
|
||||
|
||||
init_all();
|
||||
|
||||
if (!run)
|
||||
exit(0);
|
||||
setlocale(LC_NUMERIC, "");
|
||||
setlinebuf(stdout); /* line-buffered stdout */
|
||||
|
||||
if (sf_run)
|
||||
outfd = open_stockfish();
|
||||
|
||||
bitboard_init();
|
||||
hyperbola_init();
|
||||
|
||||
CLOCK_DEFINE(clock, CLOCK_PROCESS);
|
||||
while ((fen = next_fen(PERFT | MOVEDO))) {
|
||||
test_line = cur_line();
|
||||
|
Reference in New Issue
Block a user