summaryrefslogtreecommitdiffstats
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)
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. */