]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix Prometheus PCI IO.
authorToni Wilen <twilen@winuae.net>
Thu, 18 Jun 2015 19:22:36 +0000 (22:22 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 18 Jun 2015 19:22:36 +0000 (22:22 +0300)
pci.cpp

diff --git a/pci.cpp b/pci.cpp
index 51c6ec7ee4074b3e2682f65eff65a3491ea827e9..1cd79e7f77dd7fd9d0133b54bf58de9c52898feb 100644 (file)
--- a/pci.cpp
+++ b/pci.cpp
@@ -855,6 +855,7 @@ static void REGPARAM2 pci_bridge_wput(uaecptr addr, uae_u32 b)
                                        map_banks(&pci_mem_bank, (expamem_z3_pointer + 0x100000) >> 16, (511 * 1024 * 1024) >> 16, 0);
                                        map_banks(&pci_config_bank, (expamem_z3_pointer + 0xf0000) >> 16, 0x10000 >> 16, 0);
                                        pcib->baseaddress_offset = pcib->baseaddress;
+                                       pcib->io_offset = expamem_z3_pointer;
                                } else if (pcib->type == PCI_BRIDGE_MEDIATOR) {
                                        map_banks(&pci_mem_bank, expamem_z3_pointer >> 16, expamem_z3_size >> 16, 0);
                                        pcib->baseaddress_offset = 0;