From 143efb2ec8df1afdc68b900f9f530382e94feb66 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 10 Jul 2019 18:11:48 +0200 Subject: model2: change .lay workaround, also fix lightgun cursor not showing in vcop (create "screen" before "ioboard") (nw) --- src/mame/drivers/model2.cpp | 6 +++--- src/mame/layout/coco3.lay | 4 ++-- src/mame/layout/model1io2.lay | 6 +++--- src/mame/layout/sms1.lay | 5 ++--- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp index 196a75344e9..caa20f2a83c 100644 --- a/src/mame/drivers/model2.cpp +++ b/src/mame/drivers/model2.cpp @@ -2531,6 +2531,9 @@ void model2o_state::model2o(machine_config &config) NVRAM(config, "backup1", nvram_device::DEFAULT_ALL_1); + model2_timers(config); + model2_screen(config); + model1io_device &ioboard(SEGA_MODEL1IO(config, "ioboard", 0)); ioboard.set_default_bios_tag("epr14869c"); ioboard.read_callback().set("dpram", FUNC(mb8421_device::left_r)); @@ -2540,9 +2543,6 @@ void model2o_state::model2o(machine_config &config) MB8421(config, "dpram", 0); - model2_timers(config); - model2_screen(config); - SEGAM1AUDIO(config, m_m1audio, 0); m_m1audio->rxd_handler().set(m_uart, FUNC(i8251_device::write_rxd)); diff --git a/src/mame/layout/coco3.lay b/src/mame/layout/coco3.lay index 5bb06a96148..24634e4ab52 100644 --- a/src/mame/layout/coco3.lay +++ b/src/mame/layout/coco3.lay @@ -1,12 +1,12 @@ - + - + diff --git a/src/mame/layout/model1io2.lay b/src/mame/layout/model1io2.lay index 1a552d3352c..60b1d49cc97 100644 --- a/src/mame/layout/model1io2.lay +++ b/src/mame/layout/model1io2.lay @@ -18,12 +18,12 @@ - - - + + + diff --git a/src/mame/layout/sms1.lay b/src/mame/layout/sms1.lay index c6988743e6f..93a8c03a3cf 100644 --- a/src/mame/layout/sms1.lay +++ b/src/mame/layout/sms1.lay @@ -1,14 +1,13 @@ - - - + + -- cgit v1.2.3