WIN_SPECIFY command is now no longer strict on translation parameters with HDX images, fixes > 503 MB HDX images on 440FX;

Applied all mainline PCem commits (changes configuration files!);
Fixed EGA and (S)VGA overscan border drawing;
Added ability to invert the colors when using a (S)VGA graphics card, to appear like an early laptop monitor;
Changed version to 1.03.
This commit is contained in:
OBattler
2017-02-25 20:18:45 +01:00
parent 1d281ab0c3
commit ef41672b20
14 changed files with 301 additions and 230 deletions

View File

@@ -597,10 +597,10 @@ void ega_poll(void *p)
{
if ((x >= 160) && ((ega->lastline - ega->firstline) >= 120))
{
for (i = 0; i < 14; i++)
for (i = 0; i < y_add; i++)
{
q = &((uint32_t *)buffer32->line[i])[32];
r = &((uint32_t *)buffer32->line[ysize + y_add_ex - 1 - i])[32];
r = &((uint32_t *)buffer32->line[ysize + y_add + i])[32];
for (j = 0; j < (xsize + x_add_ex); j++)
{
@@ -609,14 +609,14 @@ void ega_poll(void *p)
}
}
for (i = 14; i < (ysize + 14); i ++)
for (i = y_add; i < (ysize + y_add); i ++)
{
q = &((uint32_t *)buffer32->line[i])[32];
for (j = 0; j < 8; j++)
for (j = 0; j < x_add; j++)
{
q[j] = ega->pallook[ega->attrregs[0x11]];
q[xsize + x_add_ex - 1 - j] = ega->pallook[ega->attrregs[0x11]];
q[xsize + x_add + j] = ega->pallook[ega->attrregs[0x11]];
}
}
}