From 07e2e7f8f88dfdcdf8edef1a00959cb5c87c553b Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 18 Feb 2017 00:46:08 +0100 Subject: [PATCH] mach64_updatemapping() now correctly sets svga->linear_base to mach64->linear_base. --- src/vid_ati_mach64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vid_ati_mach64.c b/src/vid_ati_mach64.c index 4c39fa344..9b95266a7 100644 --- a/src/vid_ati_mach64.c +++ b/src/vid_ati_mach64.c @@ -423,6 +423,8 @@ void mach64_updatemapping(mach64_t *mach64) { svga_t *svga = &mach64->svga; + svga->linear_base = mach64->linear_base; + if (!(mach64->pci_regs[PCI_REG_COMMAND] & PCI_COMMAND_MEM)) { pclog("Update mapping - PCI disabled\n");