bah, fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-06-23 02:57:24 +00:00
parent 4982b87b9c
commit 6653072292

View file

@ -104,8 +104,10 @@ void fade(bool fade_in, bool updatewps)
fp_volume += fp_step;
sound_set_volume(fp_volume >> 8);
if (updatewps)
{
FOR_NB_SCREENS(i)
gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC);
}
sleep(1);
}
sound_set_volume(global_settings.volume);
@ -118,8 +120,10 @@ void fade(bool fade_in, bool updatewps)
fp_volume -= fp_step;
sound_set_volume(fp_volume >> 8);
if (updatewps)
{
FOR_NB_SCREENS(i)
gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_NON_STATIC);
}
sleep(1);
}
audio_pause();