summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2006-02-10 19:25:39 +0000
committerDan Everton <dan@iocaine.org>2006-02-10 19:25:39 +0000
commit3898dedbb100f30be73db4c7540556c32b008faa (patch)
treecb2ba2602af18da78c8b3db148533a36b2afdc48 /uisimulator
parent32ed0d80a9d2382df3472afa4e3b095a4f6ed222 (diff)
downloadrockbox-3898dedbb100f30be73db4c7540556c32b008faa.tar.gz
rockbox-3898dedbb100f30be73db4c7540556c32b008faa.tar.bz2
rockbox-3898dedbb100f30be73db4c7540556c32b008faa.zip
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
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/sdl/lcd-remote.c2
1 files changed, 1 insertions, 1 deletions
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 */