From df8facc22815f9eca0897e27ccce30701ba95322 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 23 Aug 2026 11:28:49 -0700 Subject: Clean X64 build and ported GetAttacks to x64. --- src/testsearch.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/testsearch.c') diff --git a/src/testsearch.c b/src/testsearch.c index 4290a4f..380dfba 100644 --- a/src/testsearch.c +++ b/src/testsearch.c @@ -42,7 +42,7 @@ TestSearch(void) SEARCHER_THREAD_CONTEXT *ctx; POSITION pos; ULONG u; - FLAG fOver; + GAME_RESULT result; FLAG fPost = g_Options.fShouldPost; FLAG fRet = FALSE; @@ -79,7 +79,7 @@ TestSearch(void) #if (PERF_COUNTERS && MP) ClearHelperThreadIdleness(); #endif - fOver = Iterate(ctx); + result = Iterate(ctx); // // How long did that take? @@ -94,7 +94,7 @@ TestSearch(void) // // Did we get a sane move? // - if (GAME_NOT_OVER == fOver) + if (RESULT_IN_PROGRESS == result.eResult) { if (FALSE == SanityCheckMove(&pos, ctx->mvRootMove)) { @@ -104,11 +104,11 @@ TestSearch(void) } } #ifdef DEBUG - else if (GAME_WHITE_WON == fOver) + else if (RESULT_WHITE_WON == result.eResult) { ASSERT(InCheck(&pos, BLACK)); } - else if (GAME_BLACK_WON == fOver) + else if (RESULT_BLACK_WON == result.eResult) { ASSERT(InCheck(&pos, WHITE)); } -- cgit v1.3