diff options
author | hap <happppp@users.noreply.github.com> | 2022-11-01 18:14:40 +0100 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2022-11-01 18:14:40 +0100 |
commit | b527e43528869fe80f8bd2a3b0a3520b17948d8a (patch) | |
tree | fa6e217b46d3f5ec06d48084baf83feb5c70560a /src/devices/sound | |
parent | 4e8a667e91a13c6193a816ad51f57770643d5d04 (diff) |
Revert "emu_timer: undo prev commit, add running() getter and change some enabled() calls to that"
This reverts commit 957cfaa53d8c44904b62372ed120ccb684afd08c.
Diffstat (limited to 'src/devices/sound')
-rw-r--r-- | src/devices/sound/c140.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/c140.cpp b/src/devices/sound/c140.cpp index d723e124e35..1010e36aa8b 100644 --- a/src/devices/sound/c140.cpp +++ b/src/devices/sound/c140.cpp @@ -540,13 +540,13 @@ void c140_device::c140_w(offs_t offset, u8 data) if (BIT(data, 0)) { // kyukaidk and marvlandj want the first interrupt to happen immediately - if (!m_int1_timer->running()) + if (!m_int1_timer->enabled()) m_int1_callback(ASSERT_LINE); } else { m_int1_callback(CLEAR_LINE); - m_int1_timer->adjust(attotime::never); + m_int1_timer->enable(false); } } } |