X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_int.h;h=794fcd1f0e0cfa5570546cab905e5ef70d72749f;hb=0c7d1ba332b26f4ac67199e8ecbb826651f8512a;hp=4dbfa659db845fd6ecaa3fc55a7f9479ace92030;hpb=99bdfd31b8708f8059fbc16ec8be90cb8d7c8bc3;p=picodrive.git diff --git a/pico/pico_int.h b/pico/pico_int.h index 4dbfa65..794fcd1 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -333,12 +333,14 @@ struct PicoEState { int DrawScanline; int rendstatus; - void *DrawLineDest; // draw estination + void *DrawLineDest; // draw destination unsigned char *HighCol; int *HighPreSpr; void *Pico_video; void *Pico_vram; int *PicoOpt; + unsigned char *Draw2FB; + unsigned short HighPal[0x100]; }; // some assembly stuff depend on these, do not touch! @@ -601,6 +603,7 @@ extern void *DrawLineDestBase; extern int DrawLineDestIncrement; // draw2.c +void PicoDraw2Init(void); PICO_INTERNAL void PicoFrameFull(); // mode4.c @@ -779,7 +782,7 @@ extern int line_base_cycles; PICO_INTERNAL_ASM void PicoVideoWrite(unsigned int a,unsigned short d); PICO_INTERNAL_ASM unsigned int PicoVideoRead(unsigned int a); PICO_INTERNAL_ASM unsigned int PicoVideoRead8(unsigned int a); -extern int (*PicoDmaHook)(unsigned int source, int len, unsigned short **srcp, unsigned short **limitp); +extern int (*PicoDmaHook)(unsigned int source, int len, unsigned short **base, unsigned int *mask); // misc.c PICO_INTERNAL_ASM void memcpy16(unsigned short *dest, unsigned short *src, int count);