From 1b2f58326e40d5108efac42c99ed5ee6def7847e Mon Sep 17 00:00:00 2001 From: TomW Date: Wed, 13 Jan 2016 20:47:58 +0000 Subject: [PATCH] Update ViRGE mapping on writes to PCI command register - fixes text console in Debian 5.0. --- src/vid_s3_virge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vid_s3_virge.c b/src/vid_s3_virge.c index 6e8b7d7..949faf0 100644 --- a/src/vid_s3_virge.c +++ b/src/vid_s3_virge.c @@ -3255,6 +3255,7 @@ static void s3_virge_pci_write(int func, int addr, uint8_t val, void *p) else io_removehandler(0x03c0, 0x0020, s3_virge_in, NULL, NULL, s3_virge_out, NULL, NULL, virge); virge->pci_regs[PCI_REG_COMMAND] = val & 0x27; + s3_virge_updatemapping(virge); return; case 0x07: virge->pci_regs[0x07] = val & 0x3e;