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:
parent
d0bc092e9e
commit
5490f6c78a
2 changed files with 2 additions and 0 deletions
|
|
@ -1032,6 +1032,7 @@ void cb_play_game(void) {
|
||||||
computer = black;
|
computer = black;
|
||||||
}
|
}
|
||||||
rb->splash ( 0 , "Thinking..." );
|
rb->splash ( 0 , "Thinking..." );
|
||||||
|
ElapsedTime(1);
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
rb->cpu_boost ( true );
|
rb->cpu_boost ( true );
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -52,5 +52,6 @@ void GNUChess_Initialize(void);
|
||||||
int VerifyMove(char s[],short iop,unsigned short *mv);
|
int VerifyMove(char s[],short iop,unsigned short *mv);
|
||||||
int SelectMove ( short side, short iop , void (*callback)(void), char *move_buffer );
|
int SelectMove ( short side, short iop , void (*callback)(void), char *move_buffer );
|
||||||
void InitializeStats ( void );
|
void InitializeStats ( void );
|
||||||
|
void ElapsedTime ( short iop );
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue