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.zip rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.tar.gz rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.tar.bz2 rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.tar.xz | |
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 537ca9f..52af7cb 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -751,6 +751,9 @@ void settings_apply(void) else { wps_data_init(gui_wps[0].data); +#ifdef HAVE_REMOTE_LCD + gui_wps[0].data->remote_wps = false; +#endif } #if LCD_DEPTH > 1 @@ -777,7 +780,10 @@ void settings_apply(void) wps_data_load(gui_wps[1].data, buf, true); } else + { wps_data_init(gui_wps[1].data); + gui_wps[1].data->remote_wps = true; + } #endif #ifdef HAVE_LCD_BITMAP |