mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
msx/msx.cpp,msx/msx2.cpp: Enable floppy sounds. (#11986)
This commit is contained in:
parent
d06605d3d1
commit
b4333f76d4
@ -253,7 +253,7 @@ void msx_cart_disk_device::softlist_525(machine_config &config)
|
|||||||
template <bool Is35, bool IsDS>
|
template <bool Is35, bool IsDS>
|
||||||
void msx_cart_disk_device::add_floppy_mconfig(machine_config &config)
|
void msx_cart_disk_device::add_floppy_mconfig(machine_config &config)
|
||||||
{
|
{
|
||||||
FLOPPY_CONNECTOR(config, "fdc:0", msx_floppies, Is35 ? (IsDS ? "35dd" : "35ssdd") : (IsDS ? "525dd" : "525ssdd"), msx_cart_disk_device::floppy_formats);
|
FLOPPY_CONNECTOR(config, "fdc:0", msx_floppies, Is35 ? (IsDS ? "35dd" : "35ssdd") : (IsDS ? "525dd" : "525ssdd"), msx_cart_disk_device::floppy_formats).enable_sound(true);
|
||||||
if (Is35)
|
if (Is35)
|
||||||
softlist_35(config);
|
softlist_35(config);
|
||||||
else
|
else
|
||||||
|
@ -91,7 +91,7 @@ msx_slot_disk_device::msx_slot_disk_device(const machine_config &mconfig, device
|
|||||||
void msx_slot_disk_device::add_drive_mconfig(machine_config &config, bool double_sided)
|
void msx_slot_disk_device::add_drive_mconfig(machine_config &config, bool double_sided)
|
||||||
{
|
{
|
||||||
for (int drive = 0; drive < m_nr_drives; drive++)
|
for (int drive = 0; drive < m_nr_drives; drive++)
|
||||||
FLOPPY_CONNECTOR(config, m_floppy[drive], msx_floppies, double_sided ? "35dd" : "35ssdd", msx_slot_disk_device::floppy_formats);
|
FLOPPY_CONNECTOR(config, m_floppy[drive], msx_floppies, double_sided ? "35dd" : "35ssdd", msx_slot_disk_device::floppy_formats).enable_sound(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void msx_slot_disk_device::device_start()
|
void msx_slot_disk_device::device_start()
|
||||||
|
Loading…
Reference in New Issue
Block a user