mirror of
https://github.com/86Box/86Box.git
synced 2025-01-22 17:22:25 -05:00
Mach64 temporary updates:
Temporarily replace the ATI68860 8bpp renderer with a clone one while the current renderer (8bpp) is being fixed for proper colors on the Mach64.
This commit is contained in:
parent
48fa9ba95a
commit
f8647f07a3
3 changed files with 8 additions and 5 deletions
|
@ -53,7 +53,7 @@ extern void svga_render_4bpp_lowres(svga_t *svga);
|
|||
extern void svga_render_4bpp_highres(svga_t *svga);
|
||||
extern void svga_render_8bpp_lowres(svga_t *svga);
|
||||
extern void svga_render_8bpp_highres(svga_t *svga);
|
||||
extern void svga_render_8bpp_incompatible_highres(svga_t *svga);
|
||||
extern void svga_render_8bpp_clone_highres(svga_t *svga);
|
||||
extern void svga_render_8bpp_tseng_lowres(svga_t *svga);
|
||||
extern void svga_render_8bpp_tseng_highres(svga_t *svga);
|
||||
extern void svga_render_8bpp_gs_lowres(svga_t *svga);
|
||||
|
|
|
@ -130,7 +130,8 @@ ati68860_ramdac_out(uint16_t addr, uint8_t val, void *priv, svga_t *svga)
|
|||
ramdac->render = svga_render_4bpp_highres;
|
||||
break;
|
||||
case 0x83:
|
||||
ramdac->render = svga_render_8bpp_highres;
|
||||
/*FIXME*/
|
||||
ramdac->render = svga_render_8bpp_clone_highres;
|
||||
break;
|
||||
case 0xa0:
|
||||
case 0xb0:
|
||||
|
@ -155,7 +156,8 @@ ati68860_ramdac_out(uint16_t addr, uint8_t val, void *priv, svga_t *svga)
|
|||
ramdac->render = svga_render_RGBA8888_highres;
|
||||
break;
|
||||
default:
|
||||
ramdac->render = svga_render_8bpp_highres;
|
||||
/*FIXME*/
|
||||
ramdac->render = svga_render_8bpp_clone_highres;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -235,7 +237,8 @@ ati68860_ramdac_init(UNUSED(const device_t *info))
|
|||
ati68860_ramdac_t *ramdac = (ati68860_ramdac_t *) malloc(sizeof(ati68860_ramdac_t));
|
||||
memset(ramdac, 0, sizeof(ati68860_ramdac_t));
|
||||
|
||||
ramdac->render = svga_render_8bpp_highres;
|
||||
/*FIXME*/
|
||||
ramdac->render = svga_render_8bpp_clone_highres;
|
||||
|
||||
return ramdac;
|
||||
}
|
||||
|
|
|
@ -717,7 +717,7 @@ void svga_render_8bpp_lowres(svga_t *svga) { svga_render_indexed_gfx(svga, false
|
|||
void svga_render_8bpp_highres(svga_t *svga) { svga_render_indexed_gfx(svga, true, true); }
|
||||
|
||||
void
|
||||
svga_render_8bpp_incompatible_highres(svga_t *svga)
|
||||
svga_render_8bpp_clone_highres(svga_t *svga)
|
||||
{
|
||||
int x;
|
||||
uint32_t *p;
|
||||
|
|
Loading…
Reference in a new issue