Skip to content

Commit

Permalink
bugfix: Prometheus FS IO space is 2M
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 14, 2025
1 parent 2f38eb7 commit 7dc5e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ static void REGPARAM2 pci_bridge_wput(uaecptr addr, uae_u32 b)
pcib->memory_start_offset[0] = expamem_board_pointer;
} else if (pcib->type == PCI_BRIDGE_PROMETHEUS_FS) {
if (validate_banks_z3(&pci_io_bank, (expamem_board_pointer) >> 16, expamem_board_size >> 16)) {
map_banks_z3(&pci_io_bank, (expamem_board_pointer + 0x1fe00000) >> 16, 0x100000 >> 16);
map_banks_z3(&pci_io_bank, (expamem_board_pointer + 0x1fe00000) >> 16, 0x200000 >> 16);
map_banks_z3(&pci_mem_bank, (expamem_board_pointer + 0x00000000) >> 16, (508 * 1024 * 1024) >> 16);
map_banks_z3(&pci_config_bank, (expamem_board_pointer + 0x1fc00000) >> 16, 0x100000 >> 16);
}
Expand Down

0 comments on commit 7dc5e32

Please sign in to comment.