aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppu.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-10-27 20:44:48 +0200
committerBad Diode <bd@badd10de.dev>2022-10-27 20:44:48 +0200
commit656d36ed6971d12c668b19e609e8f25aba49cb88 (patch)
tree507f04ab0266efb5eb570344453b5c0efe9b5003 /src/ppu.h
parent75852933e7739ca726618533a5aa69f2a1d1322e (diff)
downloaduxngba-656d36ed6971d12c668b19e609e8f25aba49cb88.tar.gz
uxngba-656d36ed6971d12c668b19e609e8f25aba49cb88.zip
Update screen_talk to handle screen_dei events
Diffstat (limited to 'src/ppu.h')
-rw-r--r--src/ppu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ppu.h b/src/ppu.h
index b5eb250..f12e1a7 100644
--- a/src/ppu.h
+++ b/src/ppu.h
@@ -19,10 +19,10 @@ WITH REGARD TO THIS SOFTWARE.
19 19
20typedef struct Ppu { 20typedef struct Ppu {
21 u32 *bg, *fg; 21 u32 *bg, *fg;
22 u16 hor, ver, pad, width, height; 22 u16 hor, ver, width, height;
23} Ppu; 23} Ppu;
24 24
25int initppu(Ppu *p, u8 hor, u8 ver, u8 pad); 25int initppu(Ppu *p, u8 hor, u8 ver);
26void putcolors(u8 *addr); 26void putcolors(u8 *addr);
27void ppu_pixel(u32 *layer, u16 x, u16 y, u8 color); 27void ppu_pixel(u32 *layer, u16 x, u16 y, u8 color);
28void ppu_1bpp(u32 *layer, u16 x, u16 y, u8 *sprite, u8 color, u8 flipx, u8 flipy); 28void ppu_1bpp(u32 *layer, u16 x, u16 y, u8 *sprite, u8 color, u8 flipx, u8 flipy);