summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/z80dev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/z80dev.cpp')
-rw-r--r--src/mame/drivers/z80dev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/z80dev.cpp b/src/mame/drivers/z80dev.cpp
index f51237299ac..87d1fbb455d 100644
--- a/src/mame/drivers/z80dev.cpp
+++ b/src/mame/drivers/z80dev.cpp
@@ -50,7 +50,7 @@ WRITE8_MEMBER( z80dev_state::display_w )
READ8_MEMBER( z80dev_state::test_r )
{
- return space.machine().rand();
+ return machine().rand();
}
static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 8, z80dev_state )