summaryrefslogtreecommitdiff
path: root/apps/gui/backdrop.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-29 08:39:08 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-29 08:39:08 +0000
commit4c514b9d942a8bc1e1c0d9599886aff138446b13 (patch)
tree3bfbc062e3e1b70130628f0a5de88e210f3b437e /apps/gui/backdrop.c
parent03ab592c9cc6a22cb09b4e01d4b403cd68daeaa4 (diff)
really the last of the red this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/backdrop.c')
-rw-r--r--apps/gui/backdrop.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/gui/backdrop.c b/apps/gui/backdrop.c
index e460b87108..fb35fe1e51 100644
--- a/apps/gui/backdrop.c
+++ b/apps/gui/backdrop.c
@@ -62,8 +62,14 @@ bool remote_backdrop_load(const char *filename, char* backdrop_buffer)
ret = read_bmp_file(filename, &bm, REMOTE_LCD_BACKDROP_BYTES,
FORMAT_NATIVE | FORMAT_DITHER | FORMAT_REMOTE, NULL);
return ((ret > 0)
- && (bm.width == REMOTE_LCD_WIDTH) && (bm.height == REMOTE_LCD_HEIGHT));
+ && (bm.width == LCD_REMOTE_WIDTH) && (bm.height == LCD_REMOTE_HEIGHT));
}
+
+void remote_backdrop_show(char *backdrop_buffer)
+{
+ lcd_remote_set_backdrop((fb_remote_data*)backdrop_buffer);
+}
+
#else /* needs stubs */
bool remote_backdrop_load(const char *filename, char* backdrop_buffer)