diff options
| author | 2018-06-08 01:29:39 +1000 | |
|---|---|---|
| committer | 2018-06-08 01:29:39 +1000 | |
| commit | 93eaa6a4943ade6513257a740fcde97ca9468559 (patch) | |
| tree | 1340f2160a7064a839b7ca649b2257489cdd3d6d /src/devices/machine/com8116.cpp | |
| parent | fafafe7050e4d04230656215b840ac53aad081e7 (diff) | |
as if millions of this pointers suddenly cried out in terror, and were suddenly silenced
* streamline templates in addrmap.h
* get rid of overloads on read/write member names - this will become even more important in the near future
Diffstat (limited to 'src/devices/machine/com8116.cpp')
| -rw-r--r-- | src/devices/machine/com8116.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/devices/machine/com8116.cpp b/src/devices/machine/com8116.cpp index 9c23104f414..194055999db 100644 --- a/src/devices/machine/com8116.cpp +++ b/src/devices/machine/com8116.cpp @@ -190,7 +190,7 @@ void com8116_device::device_timer(emu_timer &timer, device_timer_id id, int para // str_w - //------------------------------------------------- -void com8116_device::str_w(uint8_t data) +void com8116_device::write_str(uint8_t data) { int fr_divider = data & 0x0f; int fr_clock = clock() / m_divisors[fr_divider]; @@ -200,17 +200,12 @@ void com8116_device::str_w(uint8_t data) m_fr_timer->adjust(attotime::from_nsec(3500), 0, attotime::from_hz(fr_clock * 2)); } -WRITE8_MEMBER( com8116_device::str_w ) -{ - str_w(data); -} - //------------------------------------------------- // stt_w - //------------------------------------------------- -void com8116_device::stt_w(uint8_t data) +void com8116_device::write_stt(uint8_t data) { int ft_divider = data & 0x0f; int ft_clock = clock() / m_divisors[ft_divider]; @@ -219,8 +214,3 @@ void com8116_device::stt_w(uint8_t data) m_ft_timer->adjust(attotime::from_nsec(3500), 0, attotime::from_hz(ft_clock * 2)); } - -WRITE8_MEMBER( com8116_device::stt_w ) -{ - stt_w(data); -} |
