diff --git a/src/mame/video/toaplan2.c b/src/mame/video/toaplan2.c index 1c15ba04122..fc9930213ae 100644 --- a/src/mame/video/toaplan2.c +++ b/src/mame/video/toaplan2.c @@ -1004,9 +1004,15 @@ static void toaplan2_scroll_reg_data_w(running_machine *machine, offs_t offset, if ((toaplan2_sub_cpu == CPU_2_Z80) && (data == 3)) { /* HACK! When tilted, sound CPU needs to be reset. */ + const device_config *ym; + + if (ym = device_list_find_by_tag(machine->config->devicelist, SOUND, "ym")) { - cpu_set_input_line(machine->cpu[1], INPUT_LINE_RESET, PULSE_LINE); - devtag_reset(machine, SOUND, "ym"); + if (!strcmp(device_get_info_string(ym, DEVINFO_STR_NAME), "YM3812")) + { + cpu_set_input_line(machine->cpu[1], INPUT_LINE_RESET, PULSE_LINE); + devtag_reset(machine, SOUND, "ym"); + } } }