mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
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:
parent
578dd8f936
commit
bc07629216
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user