summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/xt446.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2023-06-08 19:02:12 +0200
committer Olivier Galibert <galibert@pobox.com>2023-06-08 21:17:35 +0200
commitc4bff094cf677fb83fc99e926b2e031e7b156b43 (patch)
tree59c1b52c502a3712f4b4db916f2b01d7deae3366 /src/devices/sound/xt446.h
parentda4caa013ecce67688f0cd9625a7e01ce085ce2d (diff)
h8_sci: Bring interface up in the cpu
Diffstat (limited to 'src/devices/sound/xt446.h')
-rw-r--r--src/devices/sound/xt446.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/sound/xt446.h b/src/devices/sound/xt446.h
index 918d9fc07ca..4de5aef57c6 100644
--- a/src/devices/sound/xt446.h
+++ b/src/devices/sound/xt446.h
@@ -20,7 +20,7 @@ class xt446_device : public device_t, public device_mixer_interface
public:
xt446_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
- void midi_w(int state) { m_midi_serial->rx_w(state); }
+ void midi_w(int state) { m_maincpu->sci_rx_w<1>(state); }
protected:
virtual void device_start() override;
@@ -31,7 +31,6 @@ protected:
private:
required_device<h8s2655_device> m_maincpu;
required_device<swp30_device> m_swp30;
- required_device<h8_sci_device> m_midi_serial;
void xt446_map(address_map &map);
void swp30_map(address_map &map);