summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/nascom1.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-17 08:30:36 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-17 08:30:36 +0000
commit5d8cdfb2e55fe1f6d5fa50af34226b1b0d73a9ca (patch)
tree258368d589d6cca18b52607c0c7b7a9f90a259f4 /src/mess/machine/nascom1.c
parent521b0c7c86836dcb844412bc173b8030e0be4905 (diff)
(MESS) cassette cleanup (nw)
Diffstat (limited to 'src/mess/machine/nascom1.c')
-rw-r--r--src/mess/machine/nascom1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/nascom1.c b/src/mess/machine/nascom1.c
index d82efa9e50a..d13d64088d5 100644
--- a/src/mess/machine/nascom1.c
+++ b/src/mess/machine/nascom1.c
@@ -110,7 +110,7 @@ READ8_MEMBER(nascom1_state::nascom1_port_00_r)
WRITE8_MEMBER(nascom1_state::nascom1_port_00_w)
{
- machine().device<cassette_image_device>(CASSETTE_TAG)->change_state(
+ m_cassette->change_state(
( data & 0x10 ) ? CASSETTE_MOTOR_ENABLED : CASSETTE_MOTOR_DISABLED,CASSETTE_MASK_MOTOR );
if (!(data & NASCOM1_KEY_RESET))