1
0
Fork 0
forked from len0rd/rockbox

Chessbox plugin: Reset computer thinking time on forced play (FS #5135)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2007-08-03 21:59:41 +00:00
parent d0bc092e9e
commit 5490f6c78a
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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