1
0
Fork 0
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:
Dave Chapman 2006-08-16 21:19:20 +00:00
parent f39add3d19
commit 214ce3f096

View file

@ -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);