return 0xff;
}
- bool TOWND_CRTC::render_32768(scrntype_t* dst, scrntype_t *mask, int y, int width, int layer, bool do_alpha)
-void TOWNS_CRTC::render_32768(scrntype_t* dst, scrntype_t *mask, uint8_t* src, int y, int width, int layer)
++bool TOWNS_CRTC::render_32768(scrntype_t* dst, scrntype_t *mask, int y, int width, int layer, bool do_alpha)
{
- if(dst == NULL) return;
- if(mask == NULL) return;
- if(src == NULL) return;
+ if(dst == NULL) return false;
+ int trans = display_linebuf & 3;
int magx = linebuffers[trans][y].mag[layer];
int pwidth = linebuffers[trans][y].pixels[layer];
int num = linebuffers[trans][y].num[layer];
}
}
}
+ return true;
}
- bool TOWND_CRTC::render_16(scrntype_t* dst, scrntype_t *mask, scrntype_t* pal, int y, int width, int layer, bool do_alpha)
-void TOWNS_CRTC::render_16(scrntype_t* dst, scrntype_t *mask, uint8_t* src, scrntype_t* pal, int y, int width, int layer)
++bool TOWNS_CRTC::render_16(scrntype_t* dst, scrntype_t *mask, scrntype_t* pal, int y, int width, int layer, bool do_alpha)
{
if(dst == NULL) return;
- if(mask == NULL) return;
- if(src == NULL) return;
- if(pal == NULL) return;
+ int trans = display_linebuf & 3;
int magx = linebuffers[trans][y].mag[layer];
int pwidth = linebuffers[trans][y].pixels[layer];
int num = linebuffers[trans][y].num[layer];