summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-01-15 23:05:13 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-01-15 23:05:13 +0000
commitc5f0b4606549c8f37f62984e66c03553786ac458 (patch)
treecf62bf4c5092eeacef07fc5359f2e6d0d13c919c
parent7c75386a832bfe32599d4818bc9a057fc5a54a06 (diff)
downloadrockbox-c5f0b4606549c8f37f62984e66c03553786ac458.tar.gz
rockbox-c5f0b4606549c8f37f62984e66c03553786ac458.zip
Always show correct play mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4243 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 09eeef4361..f1c1adc7fd 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -663,11 +663,11 @@ int wps_show(void)
663 while ( 1 ) 663 while ( 1 )
664 { 664 {
665 bool mpeg_paused = (mpeg_status() & MPEG_STATUS_PAUSE)?true:false; 665 bool mpeg_paused = (mpeg_status() & MPEG_STATUS_PAUSE)?true:false;
666 status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY);
666 667
667 /* did someone else (i.e power thread) change mpeg pause mode? */ 668 /* did someone else (i.e power thread) change mpeg pause mode? */
668 if (paused != mpeg_paused) { 669 if (paused != mpeg_paused) {
669 paused = mpeg_paused; 670 paused = mpeg_paused;
670 status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY);
671 671
672 /* if another thread paused mpeg, we are probably in car mode, 672 /* if another thread paused mpeg, we are probably in car mode,
673 about to shut down. lets save the settings. */ 673 about to shut down. lets save the settings. */