summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/midiin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/midiin.cpp')
-rw-r--r--src/devices/imagedev/midiin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/imagedev/midiin.cpp b/src/devices/imagedev/midiin.cpp
index 59211d06f88..cefeb6cfb05 100644
--- a/src/devices/imagedev/midiin.cpp
+++ b/src/devices/imagedev/midiin.cpp
@@ -48,7 +48,7 @@ INPUT_PORTS_END
ctor
-------------------------------------------------*/
-midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, MIDIIN, tag, owner, clock),
device_image_interface(mconfig, *this),
device_serial_interface(mconfig, *this),
@@ -90,8 +90,8 @@ void midiin_device::device_reset()
// we don't Rx, we Tx at 31250 8-N-1
set_data_frame(1, 8, PARITY_NONE, STOP_BITS_1);
- set_rcv_rate(0);
- set_tra_rate(31250);
+ set_rcv_rate(XTAL::u(0));
+ set_tra_rate(XTAL::u(31250));
}
/*-------------------------------------------------