Always show correct play mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4243 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7c75386a83
commit
c5f0b46065
1 changed files with 1 additions and 1 deletions
|
@ -663,11 +663,11 @@ int wps_show(void)
|
|||
while ( 1 )
|
||||
{
|
||||
bool mpeg_paused = (mpeg_status() & MPEG_STATUS_PAUSE)?true:false;
|
||||
status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY);
|
||||
|
||||
/* did someone else (i.e power thread) change mpeg pause mode? */
|
||||
if (paused != mpeg_paused) {
|
||||
paused = mpeg_paused;
|
||||
status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY);
|
||||
|
||||
/* if another thread paused mpeg, we are probably in car mode,
|
||||
about to shut down. lets save the settings. */
|
||||
|
|
Loading…
Reference in a new issue