From 3898dedbb100f30be73db4c7540556c32b008faa Mon Sep 17 00:00:00 2001 From: Dan Everton Date: Fri, 10 Feb 2006 19:25:39 +0000 Subject: 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 --- uisimulator/sdl/lcd-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator') diff --git a/uisimulator/sdl/lcd-remote.c b/uisimulator/sdl/lcd-remote.c index 4d592e67f5..b5a07d2f20 100644 --- a/uisimulator/sdl/lcd-remote.c +++ b/uisimulator/sdl/lcd-remote.c @@ -41,7 +41,7 @@ void lcd_remote_update_rect(int x_start, int y_start, int width, int height) { 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 */ -- cgit v1.2.3