mach64_updatemapping() now correctly sets svga->linear_base to mach64->linear_base.

This commit is contained in:
OBattler
2017-02-18 00:46:08 +01:00
parent 3935ab1074
commit 07e2e7f8f8

View File

@@ -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");