diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-10 22:48:55 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-10 22:48:55 +0000 |
| commit | 2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b (patch) | |
| tree | 0c84720dbd69c8bb6f6ce399eeb063dcd79c1bbd /apps/plugins/solitaire.c | |
| parent | 6bc9abcceb04599497e7dd270a75d232f3a4a834 (diff) | |
| download | rockbox-2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b.zip rockbox-2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b.tar.gz rockbox-2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b.tar.bz2 rockbox-2c4cae1bf3d91b753f246e6fc89d6ff7e4c0241b.tar.xz | |
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
Diffstat (limited to 'apps/plugins/solitaire.c')
| -rw-r--r-- | apps/plugins/solitaire.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index 92441ba..05ff25b 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -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; |