Fix remote not being shown when displaying background in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8652 a1c6a512-1295-4272-9138-f99709370657
diff --git a/uisimulator/sdl/lcd-remote.c b/uisimulator/sdl/lcd-remote.c
index 4d592e6..b5a07d2 100644
--- a/uisimulator/sdl/lcd-remote.c
+++ b/uisimulator/sdl/lcd-remote.c
@@ -41,7 +41,7 @@
{
sdl_update_rect(remote_surface, x_start, y_start, width, height,
LCD_REMOTE_WIDTH, LCD_REMOTE_HEIGHT, background ? UI_REMOTE_POSX : 0,
- (background? UI_REMOTE_POSY : 0) + UI_LCD_HEIGHT, get_lcd_remote_pixel);
+ (background ? UI_REMOTE_POSY : LCD_HEIGHT), get_lcd_remote_pixel);
}
/* initialise simulator lcd remote driver */