JEGA/JVGA: Only update renderer override on master, do not update CRTC cursor location unless it's either master or slave, and only override the text mode renderer - fixes AX Windows 3.0 386 enhanced mode returning from DOS box to full screen.
This commit is contained in:
@@ -1176,10 +1176,7 @@ svga_do_render(svga_t *svga)
|
||||
}
|
||||
|
||||
if (!svga->override) {
|
||||
if (svga->render_override)
|
||||
svga->render_override(svga->priv_parent);
|
||||
else
|
||||
svga->render(svga);
|
||||
svga->render(svga);
|
||||
|
||||
svga->x_add = (svga->monitor->mon_overscan_x >> 1);
|
||||
svga_render_overscan_left(svga);
|
||||
@@ -2019,6 +2016,7 @@ svga_doblit(int wx, int wy, svga_t *svga)
|
||||
|
||||
/* Block resolution changes while in DPMS mode to avoid getting a bogus
|
||||
screen width (320). We're already rendering a blank screen anyway. */
|
||||
pclog("%i + %i, %i + %i\n", svga->monitor->mon_xsize, x_add, svga->monitor->mon_ysize, y_add);
|
||||
if (!svga->dpms)
|
||||
set_screen_size_monitor(svga->monitor->mon_xsize + x_add, svga->monitor->mon_ysize + y_add, svga->monitor_index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user