diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-25 13:09:56 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-25 13:09:56 +0000 |
commit | 2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed (patch) | |
tree | e6ffe49977691b83484dc66e67eac51e50ff85d3 /apps/settings.c | |
parent | 70e2846241a8ab9dd6aa570762086c3111ac0463 (diff) | |
download | rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.tar.gz rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.zip |
Make bitmaps use the right format in a RWPS and prevent a backdrop tag in a RWPS from clearing the main display's backdrop. This also allows future backdrop support for LCD remotes by making the parsing code aware of whether the display for a WPS is a remote or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index 537ca9f5b6..52af7cb481 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -751,6 +751,9 @@ void settings_apply(void) | |||
751 | else | 751 | else |
752 | { | 752 | { |
753 | wps_data_init(gui_wps[0].data); | 753 | wps_data_init(gui_wps[0].data); |
754 | #ifdef HAVE_REMOTE_LCD | ||
755 | gui_wps[0].data->remote_wps = false; | ||
756 | #endif | ||
754 | } | 757 | } |
755 | 758 | ||
756 | #if LCD_DEPTH > 1 | 759 | #if LCD_DEPTH > 1 |
@@ -777,7 +780,10 @@ void settings_apply(void) | |||
777 | wps_data_load(gui_wps[1].data, buf, true); | 780 | wps_data_load(gui_wps[1].data, buf, true); |
778 | } | 781 | } |
779 | else | 782 | else |
783 | { | ||
780 | wps_data_init(gui_wps[1].data); | 784 | wps_data_init(gui_wps[1].data); |
785 | gui_wps[1].data->remote_wps = true; | ||
786 | } | ||
781 | #endif | 787 | #endif |
782 | 788 | ||
783 | #ifdef HAVE_LCD_BITMAP | 789 | #ifdef HAVE_LCD_BITMAP |