diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-06 23:39:55 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-06 23:39:55 +0530 |
| commit | 3c540db464f4034d0a393b076c79a26851f68f47 (patch) | |
| tree | e9e94fb838b05818948f4f4596f0db6acba4402c /src/uci | |
| parent | 1876294f217d7faa2a07dbaaaab82d142ce42803 (diff) | |
removed unnescessary stuff + ipc with shared memory + somehow the build is faster?
Diffstat (limited to 'src/uci')
| -rw-r--r-- | src/uci/response.c | 6 | ||||
| -rw-r--r-- | src/uci/state.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/uci/response.c b/src/uci/response.c index a7e53fd..83a8ee1 100644 --- a/src/uci/response.c +++ b/src/uci/response.c @@ -3,8 +3,8 @@ #include <stdlib.h> #include "response.h" -#include "fen.h" -#include "bitboard.h" +#include "../fen.h" +#include "../bitboard.h" void apply_option(uci_state *state, char *name, char *buffer) { int settings_count = sizeof(state->option_settings)/sizeof(option_setting_t); @@ -151,7 +151,7 @@ void handle_idle(uci_state *state, ucicmd cmd) { } else { assert(0); } if (cmd.args_count >= k) return; - assert(ucicmd_get_arg(cmd, k++), "moves") == 0); + assert(strcmp(ucicmd_get_arg(cmd, k++), "moves") == 0); struct uci_move *moves = malloc((cmd.args_count - k) * sizeof(struct uci_move)); int l = 0; for (; k < cmd.args_count; k++) { diff --git a/src/uci/state.h b/src/uci/state.h index cb0d63f..849a08a 100644 --- a/src/uci/state.h +++ b/src/uci/state.h @@ -1,7 +1,7 @@ #ifndef UCI_STATE_H #define UCI_STATE_H -#include "engine/fen.h" +#include "../fen.h" typedef struct { char* data; |
