forked from len0rd/rockbox
Allow exiting of plugin whilst paused
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10621 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f39add3d19
commit
214ce3f096
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ static bool button_loop(void)
|
||||||
#endif
|
#endif
|
||||||
do {
|
do {
|
||||||
button = rb->button_get(true);
|
button = rb->button_get(true);
|
||||||
|
if (button == MPEG_STOP)
|
||||||
|
return true;
|
||||||
} while (button != MPEG_PAUSE);
|
} while (button != MPEG_PAUSE);
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
rb->cpu_boost(true);
|
rb->cpu_boost(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue