pci.cpp: fixed 'Fatal error: install_ram_generic: In range cdcdcdcc-9b9b9b98 mirror 0, start address is after the end address' for pcipc in devnoclear debug builds (nw)

i82439tx.cpp: fixed 'Fatal error: unmap_generic: In range 42723233-103fffff mirror 0, start address is after the end address.' for m55hipl in devnoclear debug builds (nw)
This commit is contained in:
Ivan Vangelista 2020-04-06 19:21:07 +02:00
parent 578dd8f936
commit bc07629216
2 changed files with 5 additions and 4 deletions

View File

@ -26,6 +26,8 @@ i82439tx_device::i82439tx_device(const machine_config &mconfig, const char *tag,
m_rom(nullptr)
{
m_smram.smiact_n = 1;
m_smram.tseg_size = 0;
m_smram.mapping = 0;
}
void i82439tx_device::i82439tx_configure_memory(uint8_t val, offs_t begin, offs_t end)

View File

@ -72,6 +72,9 @@ pci_device::pci_device(const machine_config &mconfig, device_type type, const ch
revision = 0x00;
pclass = 0xffffff;
subsystem_id = 0xffffffff;
expansion_rom = nullptr;
expansion_rom_size = 0;
expansion_rom_base = 0;
is_multifunction_device = false;
intr_pin = 0x0;
intr_line = 0xff;
@ -102,10 +105,6 @@ void pci_device::device_start()
bank_count = 0;
bank_reg_count = 0;
expansion_rom = nullptr;
expansion_rom_size = 0;
expansion_rom_base = 0;
for (int i = 0; i < ARRAY_LENGTH(bank_infos); i++) {
save_item(NAME(bank_infos[i].adr), i);
}