if ((Pico32x.vdp_regs[0] & P32XV_Mx) == 0 || // 32x blanking
// XXX: how is 32col mode hadled by real hardware?
!(Pico.video.reg[12] & 1) || // 32col mode
- !(PicoDrawMask & PDRAW_32X_ON))
+ (Pico.video.debug_p & PVD_KILL_32X))
{
return;
}
unsigned short *dram, int lines_sft_offs, int mdbg) \
{ \
int inv_bit = (Pico32x.vdp_regs[0] & P32XV_PRI) ? 0x8000 : 0; \
- unsigned char *pmd = PicoDraw2FB + \
+ unsigned char *pmd = Pico.est.Draw2FB + \
328 * (lines_sft_offs & 0xff) + 8; \
- unsigned short *palmd = HighPal; \
+ unsigned short *palmd = Pico.est.HighPal; \
unsigned short *p32x; \
int lines = lines_sft_offs >> 16; \
int l; \
unsigned short *dram, int lines_sft_offs, int mdbg) \
{ \
unsigned short *pal = Pico32xMem->pal_native; \
- unsigned char *pmd = PicoDraw2FB + \
+ unsigned char *pmd = Pico.est.Draw2FB + \
328 * (lines_sft_offs & 0xff) + 8; \
- unsigned short *palmd = HighPal; \
+ unsigned short *palmd = Pico.est.HighPal; \
unsigned char *p32x; \
int lines = lines_sft_offs >> 16; \
int l; \
unsigned short *dram, int lines_sft_offs, int mdbg) \
{ \
unsigned short *pal = Pico32xMem->pal_native; \
- unsigned char *pmd = PicoDraw2FB + \
+ unsigned char *pmd = Pico.est.Draw2FB + \
328 * (lines_sft_offs & 0xff) + 8; \
- unsigned short *palmd = HighPal; \
+ unsigned short *palmd = Pico.est.HighPal; \
unsigned short *p32x; \
int lines = lines_sft_offs >> 16; \
int l; \
{
int have_scan = PicoScan32xBegin != NULL && PicoScan32xEnd != NULL;
unsigned short *dst = (void *)((char *)DrawLineDestBase + offs * DrawLineDestIncrement);
- unsigned char *pmd = PicoDraw2FB + 328 * offs + 8;
- unsigned short *pal = HighPal;
+ unsigned char *pmd = Pico.est.Draw2FB + 328 * offs + 8;
+ unsigned short *pal = Pico.est.HighPal;
int poffs = 0, plen = 320;
int l, p;
}
// use the same layout as alt renderer
- PicoDrawSetInternalBuf(PicoDraw2FB, 328);
+ PicoDrawSetInternalBuf(Pico.est.Draw2FB, 328);
Pico32xDrawMode = (which == PDF_RGB555) ? PDM32X_32X_ONLY : PDM32X_BOTH;
}