forked from len0rd/rockbox
Restore default background color when going back to menu after winning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10883 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a27c1833aa
commit
669490d1a4
1 changed files with 4 additions and 3 deletions
|
|
@ -672,6 +672,10 @@ int solitaire_menu( unsigned char context )
|
|||
context = MENU_DURINGGAME;
|
||||
}
|
||||
|
||||
#if LCD_DEPTH > 1
|
||||
rb->lcd_set_background( LCD_DEFAULT_BG );
|
||||
#endif
|
||||
|
||||
while( true )
|
||||
{
|
||||
|
||||
|
|
@ -1548,9 +1552,6 @@ int solitaire( void )
|
|||
case SOL_RC_QUIT:
|
||||
#endif
|
||||
case SOL_QUIT:
|
||||
#if LCD_DEPTH > 1
|
||||
rb->lcd_set_background( LCD_DEFAULT_BG );
|
||||
#endif
|
||||
switch( solitaire_menu( MENU_DURINGGAME ) )
|
||||
{
|
||||
case MENU_QUIT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue