forked from len0rd/rockbox
Apply fix from FS#6341, with some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14430 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9295e0a489
commit
a50c2b1494
3 changed files with 8 additions and 4 deletions
|
|
@ -601,6 +601,7 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
#ifdef SIMULATOR
|
||||
(void)callback;
|
||||
(void)parameter;
|
||||
bookmark_autobookmark();
|
||||
call_ata_idle_notifys(true);
|
||||
exit(0);
|
||||
#else
|
||||
|
|
@ -664,6 +665,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter)
|
|||
sleep(1);
|
||||
}
|
||||
#endif
|
||||
bookmark_autobookmark();
|
||||
|
||||
/* audio_stop_recording == audio_stop for HWCODEC */
|
||||
audio_stop();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue