diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c index 06dfc28e609..91511dbc754 100644 --- a/src/emu/uimenu.c +++ b/src/emu/uimenu.c @@ -822,7 +822,7 @@ do { \ #if HAS_WAVE /* add tape control menu */ - if (device_find(Machine->devices, IO_CASSETTE)) + if (device_find_from_machine(Machine, IO_CASSETTE)) ADD_MENU("Tape Control", menu_tape_control, 1); #endif /* HAS_WAVE */ #endif /* MESS */