Cirrus: Don't decrement height if redraw area contiues on the left of the display.
This commit is contained in:
parent
85c58ff450
commit
ab89d23f06
@ -457,7 +457,7 @@ void bx_svga_cirrus_c::redraw_area(unsigned x0, unsigned y0, unsigned width,
|
||||
yt1 = (BX_CIRRUS_THIS svga_yres - 1) / Y_TILESIZE;
|
||||
}
|
||||
if ((x0 + width) > svga_xres) {
|
||||
BX_CIRRUS_THIS redraw_area(0, y0 + 1, x0 + width - svga_xres, height - 1);
|
||||
BX_CIRRUS_THIS redraw_area(0, y0 + 1, x0 + width - svga_xres, height);
|
||||
}
|
||||
for (yti=yt0; yti<=yt1; yti++) {
|
||||
for (xti=xt0; xti<=xt1; xti++) {
|
||||
|
Loading…
Reference in New Issue
Block a user