summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/chessbox/chessbox.c1
-rw-r--r--apps/plugins/chessbox/gnuchess.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index fce5c72..aedb9f8 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -1032,6 +1032,7 @@ void cb_play_game(void) {
computer = black;
}
rb->splash ( 0 , "Thinking..." );
+ ElapsedTime(1);
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost ( true );
#endif
diff --git a/apps/plugins/chessbox/gnuchess.h b/apps/plugins/chessbox/gnuchess.h
index 5e8974f..5367bb3 100644
--- a/apps/plugins/chessbox/gnuchess.h
+++ b/apps/plugins/chessbox/gnuchess.h
@@ -52,5 +52,6 @@ void GNUChess_Initialize(void);
int VerifyMove(char s[],short iop,unsigned short *mv);
int SelectMove ( short side, short iop , void (*callback)(void), char *move_buffer );
void InitializeStats ( void );
+void ElapsedTime ( short iop );
#endif