Multi-monitor support (backend preparation part)

This commit is contained in:
Cacodemon345
2022-07-03 01:07:13 +06:00
parent 4e8a27a214
commit 8a3367ff6f
37 changed files with 537 additions and 345 deletions

View File

@@ -179,6 +179,7 @@ typedef struct sigma_t
int plane;
int revision;
int fullchange;
} sigma_t;
#define COMPOSITE_OLD 0
@@ -228,7 +229,7 @@ sigma_out(uint16_t addr, uint8_t val, void *p)
sigma->crtc[sigma->crtcreg] = val & crtcmask[sigma->crtcreg];
if (old != val) {
if (sigma->crtcreg < 0xe || sigma->crtcreg > 0x10) {
fullchange = changeframecount;
sigma->fullchange = changeframecount;
sigma_recalctimings(sigma);
}
}