diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-18 12:27:20 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-18 12:27:20 +0000 |
commit | 6cbc701d2a9890baa49f69f1692dddebf39e30cb (patch) | |
tree | 08f098ca1eb9ab308242e3e4dc1584691152ea1b /firmware/target/hosted/sdl/lcd-charcells.c | |
parent | d3735578c3d957e7bb68e2838024ab57bceade68 (diff) | |
download | rockbox-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-charcells.c')
-rw-r--r-- | firmware/target/hosted/sdl/lcd-charcells.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/lcd-charcells.c b/firmware/target/hosted/sdl/lcd-charcells.c index 900cbb04dd..9ceb5de391 100644 --- a/firmware/target/hosted/sdl/lcd-charcells.c +++ b/firmware/target/hosted/sdl/lcd-charcells.c | |||
@@ -106,7 +106,7 @@ void sim_backlight(int value) | |||
106 | #endif | 106 | #endif |
107 | 107 | ||
108 | /* initialise simulator lcd driver */ | 108 | /* initialise simulator lcd driver */ |
109 | void sim_lcd_init(void) | 109 | void lcd_init_device(void) |
110 | { | 110 | { |
111 | lcd_surface = SDL_CreateRGBSurface(SDL_SWSURFACE, | 111 | lcd_surface = SDL_CreateRGBSurface(SDL_SWSURFACE, |
112 | SIM_LCD_WIDTH * display_zoom, | 112 | SIM_LCD_WIDTH * display_zoom, |