X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.h;h=bde9a5a829dddbaa92f17460929134675f2abe32;hb=fcdefcf62cb71969b456a6f27688adbeb5890bb9;hp=870444aef78e53bbab3125cc6b160412e6fc7fc1;hpb=b4db550e41b2aa277f570d7bff890c8e8ee1831f;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index 870444a..bde9a5a 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -209,6 +209,14 @@ extern unsigned char *PicoDraw2FB; // buffer for fast renderer in format (8+32 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 +// 32x/32x.c +// multipliers against 68k clock +extern int p32x_msh2_multiplier; +extern int p32x_ssh2_multiplier; +#define SH2_MULTI_SHIFT 10 +#define MSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 3 / 2) +#define SSH2_MULTI_DEFAULT ((1 << SH2_MULTI_SHIFT) * 3 / 2) + // 32x/draw.c void PicoDraw32xSetFrameMode(int is_on, int only_32x); extern int (*PicoScan32xBegin)(unsigned int num);