Fix validation errors from 24371e7a4a

This commit is contained in:
AJR 2023-05-18 15:36:43 -04:00
parent aecf2e3d5b
commit cd85730b98
3 changed files with 3 additions and 7 deletions

View File

@ -29,6 +29,7 @@ void cr511b_device::device_add_mconfig(machine_config &config)
CDDA(config, m_cdda);
m_cdda->add_route(0, ":lspeaker", 1.0);
m_cdda->add_route(1, ":rspeaker", 1.0);
m_cdda->set_cdrom_tag("cdrom");
}

View File

@ -573,7 +573,7 @@ public:
cd32_state(const machine_config &mconfig, device_type type, const char *tag)
: amiga_state(mconfig, type, tag)
, m_player_ports(*this, {"p1_cd32_buttons", "p2_cd32_buttons"})
, m_cdda(*this, "cdda")
, m_cdda(*this, "akiko:cdda")
{ }
DECLARE_WRITE_LINE_MEMBER( akiko_int_w );
@ -2239,14 +2239,9 @@ void cd32_state::cd32(machine_config &config)
MCFG_VIDEO_START_OVERRIDE(amiga_state, amiga_aga)
CDDA(config, m_cdda);
m_cdda->add_route(0, "lspeaker", 0.50);
m_cdda->add_route(1, "rspeaker", 0.50);
m_cia_0->pa_wr_callback().set(FUNC(cd32_state::akiko_cia_0_port_a_write));
m_cia_0->sp_wr_callback().set_nop();
CDROM(config, "cdrom").set_interface("cdrom");
SOFTWARE_LIST(config, "cd32_list").set_original("cd32");
SOFTWARE_LIST(config, "cd_list").set_original("cdtv");
}

View File

@ -22,7 +22,7 @@ public:
template <typename... T> void set_cdc_do_dma_callback(T &&... args) { m_segacd_dma_callback.set(std::forward<T>(args)...); }
template <typename T> void set_cdrom_tag(T &&tag) { m_cdrom.set_tag(std::forward<T>(tag)); }
template <typename T> void set_cdrom_tag(T &&tag) { m_cdrom.set_tag(std::forward<T>(tag)); subdevice<cdda_device>("cdda")->set_cdrom_tag(std::forward<T>(tag)); }
template <typename T> void set_68k_tag(T &&tag) { m_68k.set_tag(std::forward<T>(tag)); }