diff options
Diffstat (limited to 'firmware/target/arm/ipod/video')
-rw-r--r-- | firmware/target/arm/ipod/video/lcd-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ipod/video/lcd-video.c b/firmware/target/arm/ipod/video/lcd-video.c index c499e9f745..27d889aafa 100644 --- a/firmware/target/arm/ipod/video/lcd-video.c +++ b/firmware/target/arm/ipod/video/lcd-video.c | |||
@@ -410,7 +410,7 @@ void lcd_update_rect(int x, int y, int width, int height) | |||
410 | /* Prevent the tick from triggering BCM updates while we're writing. */ | 410 | /* Prevent the tick from triggering BCM updates while we're writing. */ |
411 | lcd_block_tick(); | 411 | lcd_block_tick(); |
412 | 412 | ||
413 | addr = &lcd_framebuffer[y][x]; | 413 | addr = FBADDR(x, y); |
414 | bcmaddr = BCMA_CMDPARAM + (LCD_WIDTH*2) * y + (x << 1); | 414 | bcmaddr = BCMA_CMDPARAM + (LCD_WIDTH*2) * y + (x << 1); |
415 | 415 | ||
416 | if (width == LCD_WIDTH) | 416 | if (width == LCD_WIDTH) |