diff options
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/lcd-bitmap.c | 2 |
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 */ |