diff options
author | 2020-11-02 13:47:02 -0500 | |
---|---|---|
committer | 2020-11-02 13:47:02 -0500 | |
commit | 0f94d65e1324e09be0b31c626a8850c273fc6b0f (patch) | |
tree | f2eae2b65343d5a68c8c0c806b2d5696e3c343c4 | |
parent | cf486a7062e61095e832d379ea59b7f55578e454 (diff) |
fm16beta: Fix missing object error; reduce region size
-rw-r--r-- | src/mame/drivers/fm7.cpp | 6 | ||||
-rw-r--r-- | src/mame/includes/fm7.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/fm7.cpp b/src/mame/drivers/fm7.cpp index 60aaa9e7b2a..f0d6832b89a 100644 --- a/src/mame/drivers/fm7.cpp +++ b/src/mame/drivers/fm7.cpp @@ -1430,7 +1430,7 @@ void fm11_state::fm11_x86_io(address_map &map) void fm7_state::fm16_mem(address_map &map) { map(0x00000, 0xfbfff).ram(); - map(0xfc000, 0xfffff).rom(); // IPL + map(0xfc000, 0xfffff).rom().region("ipl", 0); // IPL } void fm7_state::fm16_io(address_map &map) @@ -2275,8 +2275,8 @@ ROM_START( fm11 ) ROM_END ROM_START( fm16beta ) - ROM_REGION( 0x100000, "maincpu", 0 ) - ROM_LOAD( "ipl.rom", 0xfc000, 0x4000, CRC(25f618ea) SHA1(9c27d6ad283260e071d64a1bfca16f7d3ad61f96) ) + ROM_REGION16_LE( 0x4000, "ipl", 0 ) + ROM_LOAD( "ipl.rom", 0x0000, 0x4000, CRC(25f618ea) SHA1(9c27d6ad283260e071d64a1bfca16f7d3ad61f96) ) // ROM_REGION( 0x10000, "subsys", 0 ) diff --git a/src/mame/includes/fm7.h b/src/mame/includes/fm7.h index a26f7e1d907..f07fdebaa66 100644 --- a/src/mame/includes/fm7.h +++ b/src/mame/includes/fm7.h @@ -207,7 +207,7 @@ protected: optional_shared_ptr<uint8_t> m_shared_ram; optional_shared_ptr<uint8_t> m_a15_ram; - required_shared_ptr<uint8_t> m_vectors; + optional_shared_ptr<uint8_t> m_vectors; uint8_t m_irq_flags; uint8_t m_irq_mask; |