forked from len0rd/rockbox
Let solitaire save its settings when performing shutdown from inside the game or menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14276 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6bc9abcceb
commit
2c4cae1bf3
2 changed files with 4 additions and 1 deletions
|
@ -1579,6 +1579,9 @@ int solitaire( void )
|
|||
}
|
||||
break;
|
||||
|
||||
case SYS_POWEROFF:
|
||||
return SOLITAIRE_QUIT;
|
||||
|
||||
default:
|
||||
if( rb->default_event_handler( button ) == SYS_USB_CONNECTED )
|
||||
return SOLITAIRE_USB;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue