diff options
| author | 2021-08-20 09:14:39 -0700 | |
|---|---|---|
| committer | 2021-08-20 09:14:39 -0700 | |
| commit | 5c146ea85351884eae58f8a5e09949cb96af36ae (patch) | |
| tree | d857d0f59291db3859c0a9793992eb094396fc05 /src/devices/machine/microtch.cpp | |
| parent | 2c4e7f088f6ea5fd45e9c3260f609d4f13040df9 (diff) | |
Since I already had to touch all device_timer signatures, bite the bullet and make device_timer callbacks match the native form to eliminate trampolines.
Diffstat (limited to 'src/devices/machine/microtch.cpp')
| -rw-r--r-- | src/devices/machine/microtch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/microtch.cpp b/src/devices/machine/microtch.cpp index e4d3b830e07..2e26e384c52 100644 --- a/src/devices/machine/microtch.cpp +++ b/src/devices/machine/microtch.cpp @@ -160,9 +160,9 @@ void microtouch_device::send_touch_packet() } } -void microtouch_device::device_timer(timer_instance const &timer, device_timer_id id, int param, void *ptr) +void microtouch_device::device_timer(timer_instance const &timer) { - if (!id) + if (!timer.id()) { if ( m_tx_buffer_ptr < m_tx_buffer_num ) { |
