From acda6787a32457d77ed41bf52a17b3d7413de9f8 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sun, 13 Jan 2013 21:09:29 +0000 Subject: MIDI: allow input port to work without a connected real device [R. Belmont] --- src/emu/imagedev/midiin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/emu/imagedev/midiin.c') diff --git a/src/emu/imagedev/midiin.c b/src/emu/imagedev/midiin.c index 1ec7ba774fa..8e335b48da3 100644 --- a/src/emu/imagedev/midiin.c +++ b/src/emu/imagedev/midiin.c @@ -40,7 +40,6 @@ void midiin_device::device_reset() { m_tx_busy = false; m_xmit_read = m_xmit_write = 0; - m_timer->adjust(attotime::from_hz(1500), 0, attotime::from_hz(1500)); // we don't Rx, we Tx at 31250 8-N-1 set_rcv_rate(0); @@ -102,6 +101,8 @@ bool midiin_device::call_load(void) return IMAGE_INIT_FAIL; } + m_timer->adjust(attotime::from_hz(1500), 0, attotime::from_hz(1500)); + return IMAGE_INIT_PASS; } -- cgit v1.2.3-70-g09d2