summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/c128_partner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/c128_partner.cpp')
-rw-r--r--src/devices/bus/c64/c128_partner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/c64/c128_partner.cpp b/src/devices/bus/c64/c128_partner.cpp
index 808926d8583..1c53ed4036d 100644
--- a/src/devices/bus/c64/c128_partner.cpp
+++ b/src/devices/bus/c64/c128_partner.cpp
@@ -44,7 +44,7 @@ DEFINE_DEVICE_TYPE(C128_PARTNER, c128_partner_cartridge_device, "c128_partner",
// INPUT_PORTS( c128_partner )
//-------------------------------------------------
-WRITE_LINE_MEMBER( c128_partner_cartridge_device::nmi_w )
+void c128_partner_cartridge_device::nmi_w(int state)
{
if (state)
{
@@ -98,7 +98,7 @@ c128_partner_cartridge_device::c128_partner_cartridge_device(const machine_confi
void c128_partner_cartridge_device::device_start()
{
// simulate the 16.7ms pulse from CIA1 PB2 that would arrive thru the joystick port dongle
- t_joyb2 = timer_alloc();
+ t_joyb2 = timer_alloc(FUNC(c128_partner_cartridge_device::update_joyb2), this);
t_joyb2->adjust(attotime::from_msec(16), 0, attotime::from_msec(16));
// state saving
@@ -127,10 +127,10 @@ void c128_partner_cartridge_device::device_reset()
//-------------------------------------------------
-// device_timer -
+// update_joyb2 -
//-------------------------------------------------
-void c128_partner_cartridge_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(c128_partner_cartridge_device::update_joyb2)
{
if (m_ls74_cd)
{