forked from len0rd/rockbox
tiny logic error in my previou commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7eb7c23a0f
commit
be5d50e2a3
1 changed files with 4 additions and 3 deletions
|
|
@ -808,8 +808,9 @@ bool sound_menu(void)
|
|||
#if CONFIG_CODEC == SWCODEC
|
||||
pcmbuf_set_low_latency(true);
|
||||
#endif
|
||||
if (items[selected].function)
|
||||
items[selected].function();
|
||||
if (items[selected].function &&
|
||||
items[selected].function())
|
||||
done = true;
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
pcmbuf_set_low_latency(false);
|
||||
|
|
@ -819,7 +820,7 @@ bool sound_menu(void)
|
|||
}
|
||||
menu_exit(m);
|
||||
|
||||
return selected==MENU_ATTACHED_USB?true:false;
|
||||
return selected == MENU_SELECTED_EXIT ? false : true;
|
||||
}
|
||||
|
||||
#ifdef HAVE_RECORDING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue