Fix party mode which I broke recently. Thanks to Steve Bavin for spotting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10184 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2006-07-04 16:43:44 +00:00
parent de1de96808
commit 8436d41b38

View file

@ -644,9 +644,11 @@ static bool dirbrowse(void)
/* Stop the music if it is playing */
if(audio_status()) {
if (!global_settings.party_mode)
{
if (global_settings.fade_on_stop)
fade(0);
audio_stop();
}
}
#if defined(CONFIG_CHARGING) && \
(CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)