diff options
author | 2010-08-23 18:43:13 +0000 | |
---|---|---|
committer | 2010-08-23 18:43:13 +0000 | |
commit | 2d787b78ee7fb37b9154724c8f52d4cea868a845 (patch) | |
tree | 01b801655d2af232a777baad52aaf05be8967978 /src/emu/machine | |
parent | b20ca095fe17eececa7b82467f038ab0cb7b0d93 (diff) |
Updated VIA 6522 to generate interrupt on T2 Pulse counting mode too, according to documentation [Miodrag Milanovic]
Diffstat (limited to 'src/emu/machine')
-rw-r--r-- | src/emu/machine/6522via.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/machine/6522via.c b/src/emu/machine/6522via.c index 64c718d7f35..9e0ebae9662 100644 --- a/src/emu/machine/6522via.c +++ b/src/emu/machine/6522via.c @@ -857,6 +857,8 @@ void via6522_device::reg_w(UINT8 offset, UINT8 data) } else { + timer_adjust_oneshot(m_t2, cycles_to_time(TIMER2_VALUE), 0); + m_t2_active = 1; m_time2 = timer_get_time(&m_machine); } break; |