diff options
author | 2019-10-10 16:05:27 +0200 | |
---|---|---|
committer | 2019-10-10 16:05:27 +0200 | |
commit | cd546e66bb9a31ba0ea60c98232085b966564a8d (patch) | |
tree | d6b551b3a53ca8d72c6a8695c6241d4bdd09816f | |
parent | 50a643e062bf79067c57025802fba9e95a6f7c81 (diff) |
hh_sm510: fix recent regression with internal artwork (nw)
-rw-r--r-- | src/mame/drivers/hh_sm510.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp index 0a2a14c7df2..0041f25c20b 100644 --- a/src/mame/drivers/hh_sm510.cpp +++ b/src/mame/drivers/hh_sm510.cpp @@ -454,6 +454,8 @@ void hh_sm510_state::sm510_dualh(machine_config &config, u16 leftwidth, u16 left mcfg_sound_r1(config); mcfg_svg_screen(config, leftwidth, leftheight, "screen_left"); mcfg_svg_screen(config, rightwidth, rightheight, "screen_right"); + + config.set_default_layout(layout_gnw_dualh); } void hh_sm510_state::sm510_dualv(machine_config &config, u16 topwidth, u16 topheight, u16 botwidth, u16 botheight) @@ -462,6 +464,8 @@ void hh_sm510_state::sm510_dualv(machine_config &config, u16 topwidth, u16 tophe mcfg_sound_r1(config); mcfg_svg_screen(config, topwidth, topheight, "screen_top"); mcfg_svg_screen(config, botwidth, botheight, "screen_bottom"); + + config.set_default_layout(layout_gnw_dualv); } void hh_sm510_state::sm511_dualv(machine_config &config, u16 topwidth, u16 topheight, u16 botwidth, u16 botheight) @@ -470,6 +474,8 @@ void hh_sm510_state::sm511_dualv(machine_config &config, u16 topwidth, u16 tophe mcfg_sound_r1(config); mcfg_svg_screen(config, topwidth, topheight, "screen_top"); mcfg_svg_screen(config, botwidth, botheight, "screen_bottom"); + + config.set_default_layout(layout_gnw_dualv); } void hh_sm510_state::sm512_dualv(machine_config &config, u16 topwidth, u16 topheight, u16 botwidth, u16 botheight) @@ -478,6 +484,8 @@ void hh_sm510_state::sm512_dualv(machine_config &config, u16 topwidth, u16 tophe mcfg_sound_r1(config); mcfg_svg_screen(config, topwidth, topheight, "screen_top"); mcfg_svg_screen(config, botwidth, botheight, "screen_bottom"); + + config.set_default_layout(layout_gnw_dualv); } @@ -502,12 +510,10 @@ void hh_sm510_state::sm511_tiger1bit(machine_config &config, u16 width, u16 heig void hh_sm510_state::sm511_tiger2bit(machine_config &config, u16 width, u16 height) { - sm511_common(config, width, height); + sm511_tiger1bit(config, width, height); m_maincpu->write_s().set(FUNC(hh_sm510_state::piezo2bit_input_w)); m_maincpu->write_r().set(FUNC(hh_sm510_state::piezo2bit_r1_w)); - m_maincpu->read_ba().set_ioport("BA"); - m_maincpu->read_b().set_ioport("B"); // R via 120K resistor, S1 via 39K resistor (eg. tsonic, tsonic2, tbatmana) static const s16 speaker_levels[] = { 0, 0x7fff/3*1, 0x7fff/3*2, 0x7fff }; @@ -1887,6 +1893,7 @@ INPUT_PORTS_END void gnw_mickdon_state::gnw_mickdon(machine_config &config) { sm510_dualv(config, 1920/2, 1281/2, 1920/2, 1236/2); // R mask option confirmed + m_maincpu->write_r().set(FUNC(gnw_mickdon_state::piezo_r2_w)); } |