From 773cd197a323d2f9b701addd63e30d54e43c74f5 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Thu, 20 Apr 2023 11:37:34 +0200 Subject: Add optional DMA usage on flipbuf This will copy an entire row of tiles instead of per tile copy, but for applications that clear the screen on each frame it will be more efficient. --- src/ppu.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ppu.h') diff --git a/src/ppu.h b/src/ppu.h index f12e1a7..bd9120c 100644 --- a/src/ppu.h +++ b/src/ppu.h @@ -17,12 +17,6 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. */ -typedef struct Ppu { - u32 *bg, *fg; - u16 hor, ver, width, height; -} Ppu; - -int initppu(Ppu *p, u8 hor, u8 ver); void putcolors(u8 *addr); void ppu_pixel(u32 *layer, u16 x, u16 y, u8 color); void ppu_1bpp(u32 *layer, u16 x, u16 y, u8 *sprite, u8 color, u8 flipx, u8 flipy); -- cgit v1.2.1