Mach8 mode changes of the day (May 20th, 2025)

Make the previously Mach8 add-on only mode changes also available to the Graphics Ultra, should fix incorrect resolutions after switching from fullscreen DOS prompt to windowed and viceversa under Win98 (and SE).
This commit is contained in:
TC1995
2025-05-20 20:33:22 +02:00
parent c9a2c441b3
commit 06f4491193

View File

@@ -2710,7 +2710,7 @@ mach_set_resolution(mach_t *mach, svga_t *svga)
mach_log("VSYNCSTART=%d, VTOTAL=%d, interlace=%02x, vdisp=%d.\n", dev->v_syncstart, dev->v_total, dev->interlace, dev->vdisp);
if (ATI_8514A_ULTRA) {
if (!ATI_MACH32) {
if ((mach->accel.clock_sel & 0x01) &&
!(dev->accel.advfunc_cntl & 0x01))
ret = 2;