Brought CGA code in line with mainline as the patch was accepted.
Uncommented auto-setting FDC data rate to 250 kbps on non-AT machines; fixes floppies on IBM PC and XT and clones; Removed flto flag from the makefiles, should speed up compile times and make the XT and earlier machines work again; Removed CGA brown and color burst settings in line with mainline PCem.
This commit is contained in:
@@ -252,8 +252,6 @@ static void ddraw_blit_memtoscreen_8(int x, int y, int w, int h)
|
||||
for (xx = 0; xx < w; xx++)
|
||||
{
|
||||
p[xx] = pal_lookup[buffer->line[y + yy][x + xx]];
|
||||
/* If brown circuity is disabled, double the green component. */
|
||||
if ((buffer->line[y + yy][x + xx] == 0x16) && !cga_brown) p[xx] += (p[xx] & 0xff00);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user