Skip to content

Commit

Permalink
Merge pull request 86Box#4175 from Cacodemon345/patch-160
Browse files Browse the repository at this point in the history
C&T 69000: avoid stale linear mappings
  • Loading branch information
OBattler authored Feb 18, 2024
2 parents 873d879 + 91aa53d commit 10b1a95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/vid_chips_69000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,10 +1886,10 @@ chips_69000_pci_write(int func, int addr, uint8_t val, void *p)
}
case 0x13:
{
// if (!(chips->pci_conf_status & PCI_COMMAND_MEM)) {
if (!chips->linear_mapping.enable) {
chips->linear_mapping.base = val << 24;
// break;
// }
break;
}
mem_mapping_set_addr(&chips->linear_mapping, val << 24, (1 << 24));
break;
}
Expand Down

0 comments on commit 10b1a95

Please sign in to comment.