From 07361446ea61015b60fe0acc5be2524203dece4e Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 27 Oct 2013 22:04:19 +0100 Subject: [PATCH] Implement XBoard memory command This can simply be translated to the native 'hash' command. --- proce.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/proce.c b/proce.c index 896963d..6d63541 100644 --- a/proce.c +++ b/proce.c @@ -245,7 +245,7 @@ Out("# command = '%s'\n", line); IF("otim") { sscanf(line+5, "%d", &hisTime); } IF("force") { forceMode = 1; } IF("go") { forceMode = 0; SetTimes(); plyNr++; strcpy(line, "move"); return 0; } - IF("memory") { ; } + IF("memory") { sprintf(line, "hash %d", value); return 0; } IF("cores") { sprintf(line, "tlp num %d", value); return 0; } IF("sd") { sprintf(line, "limit depth %d", value); return 0; } IF("st") { ; } -- 1.7.0.4