From a547f50515ea037d11b5725591718ea1a7a66456 Mon Sep 17 00:00:00 2001 From: arbee Date: Sun, 19 Feb 2023 11:28:46 -0500 Subject: Correct validation issues. [R. Belmont] --- src/mame/apple/bandit.cpp | 2 +- src/mame/apple/macpci.cpp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mame/apple/bandit.cpp b/src/mame/apple/bandit.cpp index ec7276a28ac..ff649dbcbb1 100644 --- a/src/mame/apple/bandit.cpp +++ b/src/mame/apple/bandit.cpp @@ -19,7 +19,7 @@ enum AS_PCI_IO = 2 }; -DEFINE_DEVICE_TYPE(BANDIT, bandit_host_device, "bandit", "Apple Bandit PowerPC-to-PCI Bridge") +DEFINE_DEVICE_TYPE(BANDIT, bandit_host_device, "banditpci", "Apple Bandit PowerPC-to-PCI Bridge") void bandit_host_device::config_map(address_map &map) { diff --git a/src/mame/apple/macpci.cpp b/src/mame/apple/macpci.cpp index ba4dd2f0574..2ff04f7834d 100644 --- a/src/mame/apple/macpci.cpp +++ b/src/mame/apple/macpci.cpp @@ -109,6 +109,9 @@ void macpci_state::pippin_map(address_map &map) map(0x03c00000, 0x03c01007).ram(); map(0x40000000, 0x403fffff).rom().region("bootrom", 0).mirror(0x0fc00000); // mirror of ROM for 680x0 emulation + map(0x5ffffffc, 0x5fffffff).lr32(NAME([](offs_t offset) { return 0xa55a7001; })); + + map(0xf00dfff8, 0xf00dffff).lr64(NAME([](offs_t offset) { return (uint64_t)0xe1 << 32; })); // PC=0xfff04810 map(0xf2000000, 0xf2ffffff).m(m_bandit, FUNC(bandit_host_device::map)); @@ -154,10 +157,6 @@ void macpci_state::pippin(machine_config &config) PCI_ROOT(config, "pci", 0); BANDIT(config, m_bandit, 66000000, "maincpu").set_dev_offset(1); - cdda_device &cdda(CDDA(config, "cdda")); - cdda.add_route(0, "lspeaker", 1.00); - cdda.add_route(1, "rspeaker", 1.00); - cdrom_image_device &cdrom(CDROM(config, "cdrom", 0)); cdrom.set_interface("pippin_cdrom"); SOFTWARE_LIST(config, "cd_list").set_original("pippin"); -- cgit v1.2.3