summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/lcd-bitmap.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-01-03 17:14:28 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-01-03 17:14:28 +0000
commita5fc3f4df4bec2b6ae1c22fb83cf495f31773122 (patch)
treeba78abac0ee9e5d564907d9e8bee4020d98cb9a8 /uisimulator/sdl/lcd-bitmap.c
parentd1cb32a93f26ef42ae864b911bbd425c49cc4109 (diff)
downloadrockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.tar.gz
rockbox-a5fc3f4df4bec2b6ae1c22fb83cf495f31773122.zip
Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/lcd-bitmap.c')
-rw-r--r--uisimulator/sdl/lcd-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/lcd-bitmap.c b/uisimulator/sdl/lcd-bitmap.c
index 12cc063288..7b6e2217c6 100644
--- a/uisimulator/sdl/lcd-bitmap.c
+++ b/uisimulator/sdl/lcd-bitmap.c
@@ -359,7 +359,7 @@ void lcd_yuv_blit(unsigned char * const src[3],
359#if LCD_WIDTH >= LCD_HEIGHT 359#if LCD_WIDTH >= LCD_HEIGHT
360 lcd_update_rect(x, y, width, height); 360 lcd_update_rect(x, y, width, height);
361#else 361#else
362 lcd_update_rect(y, x, height, width); 362 lcd_update_rect(LCD_WIDTH - y - height, x, height, width);
363#endif 363#endif
364} 364}
365#endif /* HAVE_LCD_COLOR */ 365#endif /* HAVE_LCD_COLOR */