diff options
author | 2013-03-20 12:04:38 +0000 | |
---|---|---|
committer | 2013-03-20 12:04:38 +0000 | |
commit | 9ec92e573e268ba6e2b905ddc43e6290cd5b74e7 (patch) | |
tree | ccb4262b4687ce15700848474311e801d38e7922 /src/emu/machine/f3853.c | |
parent | 4899895e816dfc9a89013c24322984b26fad590d (diff) |
removed devhelpr.h and trampolines in half modern devices,also southbridge also use am9517a device now (no whatsnew)
Diffstat (limited to 'src/emu/machine/f3853.c')
-rw-r--r-- | src/emu/machine/f3853.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/emu/machine/f3853.c b/src/emu/machine/f3853.c index 4a4163bcdbf..65ee33267b5 100644 --- a/src/emu/machine/f3853.c +++ b/src/emu/machine/f3853.c @@ -22,7 +22,6 @@ #include "emu.h" #include "f3853.h" -#include "devhelpr.h" /*************************************************************************** MACROS @@ -173,12 +172,6 @@ void f3853_device::f3853_timer() f3853_timer_start(0xfe); } - -void f3853_set_external_interrupt_in_line(device_t *device, int level) -{ - downcast<f3853_device*>(device)->f3853_set_external_interrupt_in_line(level); -} - void f3853_device::f3853_set_external_interrupt_in_line(int level) { if(m_external_interrupt_line && !level && m_external_enable) @@ -189,12 +182,6 @@ void f3853_device::f3853_set_external_interrupt_in_line(int level) f3853_set_interrupt_request_line(); } - -void f3853_set_priority_in_line(device_t *device, int level) -{ - downcast<f3853_device*>(device)->f3853_set_priority_in_line(level); -} - void f3853_device::f3853_set_priority_in_line(int level) { m_priority_line = level; @@ -202,7 +189,7 @@ void f3853_device::f3853_set_priority_in_line(int level) } -READ8_DEVICE_HANDLER_TRAMPOLINE(f3853, f3853_r) +READ8_MEMBER(f3853_device::f3853_r) { UINT8 data = 0; @@ -225,7 +212,7 @@ READ8_DEVICE_HANDLER_TRAMPOLINE(f3853, f3853_r) } -WRITE8_DEVICE_HANDLER_TRAMPOLINE(f3853, f3853_w) +WRITE8_MEMBER(f3853_device::f3853_w) { switch(offset) { |