model2: change .lay workaround, also fix lightgun cursor not showing in vcop (create "screen" before "ioboard") (nw)

This commit is contained in:
hap 2019-07-10 18:11:48 +02:00
parent ecc9e29489
commit 143efb2ec8
4 changed files with 10 additions and 11 deletions

View File

@ -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));

View File

@ -1,12 +1,12 @@
<?xml version="1.0"?>
<mamelayout version="2">
<view name="Composite">
<bounds left="0" top="0" right="4" bottom="3" />
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<!-- workaround for MAME selecting a 2-screen view by default -->
<screen index="1"><bounds left="10" top="0" right="14" bottom="3" /></screen>
<screen index="1"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
</view>
<view name="RGB">

View File

@ -18,12 +18,12 @@
</element>
<view name="Default">
<screen tag="ioboard:screen">
<bounds left="0" top="0" right="1" bottom="1" />
</screen>
<screen tag="screen">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<!-- workaround for MAME selecting a 2-screen view by default -->
<screen tag="ioboard:screen"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
</view>
<view name="Diagnostic">

View File

@ -1,14 +1,13 @@
<?xml version="1.0"?>
<mamelayout version="2">
<view name="Main Screen Standard (4:3)">
<bounds left="0" top="0" right="4" bottom="3" />
<screen index="0">
<bounds left="0" top="0" right="4" bottom="3" />
</screen>
<!-- workaround for MAME selecting a 3-screen view by default -->
<screen index="1"><bounds left="10" top="0" right="14" bottom="3" /></screen>
<screen index="2"><bounds left="10" top="0" right="14" bottom="3" /></screen>
<screen index="1"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
<screen index="2"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
</view>
<view name="SegaScope Left LCD Standard (4:3)">