rockbox/firmware/asm/lcd-as-memframe.c
Aidan MacDonald fe6aa21e9e Remove YUV blitting functions and LCD modes
None of this is needed now that mpegplayer is gone.

Change-Id: I360366db8513e4d988021e8d7b7d8eb09930efb8
2022-10-03 13:30:01 +01:00

11 lines
255 B
C

#include <string.h>
#include "lcd.h"
void lcd_copy_buffer_rect(fb_data *dst, fb_data *src, int width, int height)
{
do {
memcpy(dst, src, width * sizeof(fb_data));
src += LCD_WIDTH;
dst += LCD_WIDTH;
} while (--height);
}