summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/zx.c
diff options
context:
space:
mode:
author Andrew Gardner <andrew-gardner@users.noreply.github.com>2013-05-23 04:38:53 +0000
committer Andrew Gardner <andrew-gardner@users.noreply.github.com>2013-05-23 04:38:53 +0000
commitdf8ca739fb09fa9eec7cda5389572501521df66b (patch)
tree63a9ba6955ebcdfb36cde975ce00b175b0c5093a /src/mess/machine/zx.c
parente7210a3a57496d2e052b2d55a572d827cc0e6ec5 (diff)
MESS anonymous timers this time. (nw)
Diffstat (limited to 'src/mess/machine/zx.c')
-rw-r--r--src/mess/machine/zx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/machine/zx.c b/src/mess/machine/zx.c
index de9e2c19762..ec605df9cab 100644
--- a/src/mess/machine/zx.c
+++ b/src/mess/machine/zx.c
@@ -137,7 +137,7 @@ READ8_MEMBER( zx_state::zx80_io_r )
if ((m_cassette->input() < -0.75) && m_tape_bit)
{
m_tape_bit = 0x00;
- machine().scheduler().timer_set(attotime::from_usec(362), timer_expired_delegate(FUNC(zx_state::zx_tape_pulse),this));
+ timer_set(attotime::from_usec(362), TIMER_TAPE_PULSE);
}
data &= ~m_tape_bit;
@@ -194,7 +194,7 @@ READ8_MEMBER( zx_state::zx81_io_r )
if ((m_cassette->input() < -0.75) && m_tape_bit)
{
m_tape_bit = 0x00;
- machine().scheduler().timer_set(attotime::from_usec(362), timer_expired_delegate(FUNC(zx_state::zx_tape_pulse),this));
+ timer_set(attotime::from_usec(362), TIMER_TAPE_PULSE);
}
data &= ~m_tape_bit;
@@ -257,7 +257,7 @@ READ8_MEMBER( zx_state::pc8300_io_r )
if ((m_cassette->input() < -0.75) && m_tape_bit)
{
m_tape_bit = 0x00;
- machine().scheduler().timer_set(attotime::from_usec(362), timer_expired_delegate(FUNC(zx_state::zx_tape_pulse),this));
+ timer_set(attotime::from_usec(362), TIMER_TAPE_PULSE);
}
data &= ~m_tape_bit;
@@ -325,7 +325,7 @@ READ8_MEMBER( zx_state::pow3000_io_r )
if ((m_cassette->input() < -0.75) && m_tape_bit)
{
m_tape_bit = 0x00;
- machine().scheduler().timer_set(attotime::from_usec(362), timer_expired_delegate(FUNC(zx_state::zx_tape_pulse),this));
+ timer_set(attotime::from_usec(362), TIMER_TAPE_PULSE);
}
data &= ~m_tape_bit;