diff options
author | 2013-01-13 21:09:29 +0000 | |
---|---|---|
committer | 2013-01-13 21:09:29 +0000 | |
commit | acda6787a32457d77ed41bf52a17b3d7413de9f8 (patch) | |
tree | 6295805c7af12c7b8892a910b9c04736796547f1 /src/emu/imagedev/midiin.c | |
parent | 82f7ce066f76878695cf528911e4fbd93cbc17a4 (diff) |
MIDI: allow input port to work without a connected real device [R. Belmont]
Diffstat (limited to 'src/emu/imagedev/midiin.c')
-rw-r--r-- | src/emu/imagedev/midiin.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |