summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sdl/lcd-bitmap.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-18 12:27:20 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-18 12:27:20 +0000
commit6cbc701d2a9890baa49f69f1692dddebf39e30cb (patch)
tree08f098ca1eb9ab308242e3e4dc1584691152ea1b /firmware/target/hosted/sdl/lcd-bitmap.c
parentd3735578c3d957e7bb68e2838024ab57bceade68 (diff)
downloadrockbox-6cbc701d2a9890baa49f69f1692dddebf39e30cb.tar.gz
rockbox-6cbc701d2a9890baa49f69f1692dddebf39e30cb.zip
Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/sdl/lcd-bitmap.c')
-rw-r--r--firmware/target/hosted/sdl/lcd-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-bitmap.c b/firmware/target/hosted/sdl/lcd-bitmap.c
index 6dfbffff37..7058b26e8c 100644
--- a/firmware/target/hosted/sdl/lcd-bitmap.c
+++ b/firmware/target/hosted/sdl/lcd-bitmap.c
@@ -160,7 +160,7 @@ void sim_backlight(int value)
160#endif /* HAVE_BACKLIGHT */ 160#endif /* HAVE_BACKLIGHT */
161 161
162/* initialise simulator lcd driver */ 162/* initialise simulator lcd driver */
163void sim_lcd_init(void) 163void lcd_init_device(void)
164{ 164{
165#if LCD_DEPTH == 16 165#if LCD_DEPTH == 16
166 lcd_surface = SDL_CreateRGBSurface(SDL_SWSURFACE, 166 lcd_surface = SDL_CreateRGBSurface(SDL_SWSURFACE,