forked from len0rd/rockbox
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
This commit is contained in:
parent
d3735578c3
commit
6cbc701d2a
8 changed files with 6 additions and 17 deletions
|
@ -98,8 +98,10 @@ void sim_remote_backlight(int value)
|
|||
}
|
||||
|
||||
/* initialise simulator lcd remote driver */
|
||||
void sim_lcd_remote_init(void)
|
||||
void lcd_remote_init_device(void)
|
||||
{
|
||||
if (!showremote)
|
||||
return;
|
||||
remote_surface = SDL_CreateRGBSurface(SDL_SWSURFACE,
|
||||
LCD_REMOTE_WIDTH * display_zoom,
|
||||
LCD_REMOTE_HEIGHT * display_zoom,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue