M pc/vgamach64xx.c => pc/vgamach64xx.c +1 -1
@@ 126,7 126,7 @@ mach64xxlinear(VGAscr* scr, int* size, int* align)
scr->isupamem = 1;
scr->mmio = KADDR(aperture+osize-0x400);
- if(oaperture)
+ if(oaperture && oaperture != aperture)
print("warning (BUG): redefinition of aperture does not change mach64mmio segment\n");
memset(&seg, 0, sizeof(seg));
seg.attr = SG_PHYSICAL;
M pc/vgas3.c => pc/vgas3.c +1 -1
@@ 155,7 155,7 @@ s3linear(VGAscr* scr, int* size, int* align)
else
scr->isupamem = 1;
- if(oaperture)
+ if(oaperture && oaperture != aperture)
print("warning (BUG): redefinition of aperture does not change s3screen segment\n");
memset(&seg, 0, sizeof(seg));
seg.attr = SG_PHYSICAL;