diff options
author | Björn Stenberg <bjorn@haxx.se> | 2004-01-15 23:05:13 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2004-01-15 23:05:13 +0000 |
commit | c5f0b4606549c8f37f62984e66c03553786ac458 (patch) | |
tree | cf62bf4c5092eeacef07fc5359f2e6d0d13c919c /apps/wps.c | |
parent | 7c75386a832bfe32599d4818bc9a057fc5a54a06 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps/wps.c')
-rw-r--r-- | apps/wps.c | 2 |
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. */ |