quick fix for FS#9046 - dont let jpeg.rock enter the playback menu if its using the audiobuffer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17727 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-06-16 02:52:43 +00:00
parent e0f7b7a830
commit 014dc784f3

View file

@ -2601,7 +2601,14 @@ int show_menu(void) /* return 1 to quit */
#if PLUGIN_BUFFER_SIZE >= MIN_MEM
case MIID_SHOW_PLAYBACK_MENU:
playback_control(rb, NULL);
if (plug_buf)
{
playback_control(rb, NULL);
}
else
{
rb->splash(HZ, "Cannot restart playback");
}
break;
#endif
#ifdef HAVE_LCD_COLOR