summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cdi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cdi.cpp')
-rw-r--r--src/mame/drivers/cdi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cdi.cpp b/src/mame/drivers/cdi.cpp
index a06dac236fd..ffb6201739b 100644
--- a/src/mame/drivers/cdi.cpp
+++ b/src/mame/drivers/cdi.cpp
@@ -943,7 +943,7 @@ MACHINE_CONFIG_END
READ8_MEMBER( cdi_state::quizard_mcu_p1_r )
{
- return rand();
+ return machine().rand();
}
static ADDRESS_MAP_START( mcu_io_map, AS_IO, 8, cdi_state )