summaryrefslogtreecommitdiff
path: root/apps/iap.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-26 08:01:41 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-26 08:01:41 +0000
commit4c6b3551b585590e21639d09198b0777b25bf04f (patch)
tree61175529bff58521341186528871074b366e6436 /apps/iap.c
parentc396e4161a9bd3f15b779476b3f18400abbecf11 (diff)
downloadrockbox-4c6b3551b585590e21639d09198b0777b25bf04f.tar.gz
rockbox-4c6b3551b585590e21639d09198b0777b25bf04f.zip
split the theme settings apply() sutff out of settings_apply(). this should fix splashes not being loc'ed, statusbar over the splash (fixed in sim, not on my mini2g though), and the supposed boot time slowdown.
What this also does is remove a bunch of unnecessary settings_Apply()'s from the ipod accessory code, and causes all non-skin settings to get applied each time (this includes font and langs which we wernt doing to stop disk access) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24922 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/iap.c')
-rw-r--r--apps/iap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/iap.c b/apps/iap.c
index 741ff9fb0c..3075db90fa 100644
--- a/apps/iap.c
+++ b/apps/iap.c
@@ -420,7 +420,6 @@ void iap_handlepkt(void)
420 { 420 {
421 global_settings.playlist_shuffle = 1; 421 global_settings.playlist_shuffle = 1;
422 settings_save(); 422 settings_save();
423 settings_apply(false);
424 if (audio_status() & AUDIO_STATUS_PLAY) 423 if (audio_status() & AUDIO_STATUS_PLAY)
425 playlist_randomise(NULL, current_tick, true); 424 playlist_randomise(NULL, current_tick, true);
426 } 425 }
@@ -428,7 +427,6 @@ void iap_handlepkt(void)
428 { 427 {
429 global_settings.playlist_shuffle = 0; 428 global_settings.playlist_shuffle = 0;
430 settings_save(); 429 settings_save();
431 settings_apply(false);
432 if (audio_status() & AUDIO_STATUS_PLAY) 430 if (audio_status() & AUDIO_STATUS_PLAY)
433 playlist_sort(NULL, true); 431 playlist_sort(NULL, true);
434 } 432 }
@@ -451,7 +449,6 @@ void iap_handlepkt(void)
451 global_settings.repeat_mode = REPEAT_ALL; 449 global_settings.repeat_mode = REPEAT_ALL;
452 450
453 settings_save(); 451 settings_save();
454 settings_apply(false);
455 if (audio_status() & AUDIO_STATUS_PLAY) 452 if (audio_status() & AUDIO_STATUS_PLAY)
456 audio_flush_and_reload_tracks(); 453 audio_flush_and_reload_tracks();
457 } 454 }
@@ -716,7 +713,6 @@ void iap_handlepkt(void)
716 { 713 {
717 global_settings.playlist_shuffle = 1; 714 global_settings.playlist_shuffle = 1;
718 settings_save(); 715 settings_save();
719 settings_apply(false);
720 if (audio_status() & AUDIO_STATUS_PLAY) 716 if (audio_status() & AUDIO_STATUS_PLAY)
721 playlist_randomise(NULL, current_tick, true); 717 playlist_randomise(NULL, current_tick, true);
722 } 718 }
@@ -724,7 +720,6 @@ void iap_handlepkt(void)
724 { 720 {
725 global_settings.playlist_shuffle = 0; 721 global_settings.playlist_shuffle = 0;
726 settings_save(); 722 settings_save();
727 settings_apply(false);
728 if (audio_status() & AUDIO_STATUS_PLAY) 723 if (audio_status() & AUDIO_STATUS_PLAY)
729 playlist_sort(NULL, true); 724 playlist_sort(NULL, true);
730 } 725 }
@@ -762,7 +757,6 @@ void iap_handlepkt(void)
762 if (oldmode != global_settings.repeat_mode) 757 if (oldmode != global_settings.repeat_mode)
763 { 758 {
764 settings_save(); 759 settings_save();
765 settings_apply(false);
766 if (audio_status() & AUDIO_STATUS_PLAY) 760 if (audio_status() & AUDIO_STATUS_PLAY)
767 audio_flush_and_reload_tracks(); 761 audio_flush_and_reload_tracks();
768 } 762 }