X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=pico%2Fpico.h;h=d22babd5d94de3dd916222029fda82d60aa2846f;hb=c7d7ac71a421c43c0c701b18c58b87fc868e02d8;hp=98e4c78551589e6cfcb73712692acc243b60dafb;hpb=4981de9ce79d0aa80222f8583667bf2fbf2265f2;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index 98e4c78..d22babd 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -172,6 +172,7 @@ typedef enum void PicoDrawSetOutFormat(pdso_t which, int use_32x_line_mode); void PicoDrawSetOutBuf(void *dest, int increment); void PicoDrawSetCallbacks(int (*begin)(unsigned int num), int (*end)(unsigned int num)); +extern unsigned char *HighCol; // utility #ifdef _ASM_DRAW_C void vidConvCpyRGB565(void *to, void *from, int pixels); @@ -195,7 +196,6 @@ extern int PicoDrawMask; #define PDRAW_32_COLS (1<<8) // 32 column mode extern int rendstatus_old; extern int rendlines; -extern unsigned short HighPal[0x100]; // draw.c void PicoDrawUpdateHighPal(void); @@ -203,7 +203,6 @@ void PicoDrawSetInternalBuf(void *dest, int line_increment); // draw2.c // stuff below is optional -extern unsigned char *PicoDraw2FB; // buffer for fast renderer in format (8+320)x(8+224+8) (eights for borders) extern unsigned short *PicoCramHigh; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now) extern void (*PicoPrepareCram)(); // prepares PicoCramHigh for renderer to use