mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
model2: change .lay workaround, also fix lightgun cursor not showing in vcop (create "screen" before "ioboard") (nw)
This commit is contained in:
parent
ecc9e29489
commit
143efb2ec8
@ -2531,6 +2531,9 @@ void model2o_state::model2o(machine_config &config)
|
|||||||
|
|
||||||
NVRAM(config, "backup1", nvram_device::DEFAULT_ALL_1);
|
NVRAM(config, "backup1", nvram_device::DEFAULT_ALL_1);
|
||||||
|
|
||||||
|
model2_timers(config);
|
||||||
|
model2_screen(config);
|
||||||
|
|
||||||
model1io_device &ioboard(SEGA_MODEL1IO(config, "ioboard", 0));
|
model1io_device &ioboard(SEGA_MODEL1IO(config, "ioboard", 0));
|
||||||
ioboard.set_default_bios_tag("epr14869c");
|
ioboard.set_default_bios_tag("epr14869c");
|
||||||
ioboard.read_callback().set("dpram", FUNC(mb8421_device::left_r));
|
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);
|
MB8421(config, "dpram", 0);
|
||||||
|
|
||||||
model2_timers(config);
|
|
||||||
model2_screen(config);
|
|
||||||
|
|
||||||
SEGAM1AUDIO(config, m_m1audio, 0);
|
SEGAM1AUDIO(config, m_m1audio, 0);
|
||||||
m_m1audio->rxd_handler().set(m_uart, FUNC(i8251_device::write_rxd));
|
m_m1audio->rxd_handler().set(m_uart, FUNC(i8251_device::write_rxd));
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<mamelayout version="2">
|
<mamelayout version="2">
|
||||||
<view name="Composite">
|
<view name="Composite">
|
||||||
<bounds left="0" top="0" right="4" bottom="3" />
|
|
||||||
<screen index="0">
|
<screen index="0">
|
||||||
<bounds left="0" top="0" right="4" bottom="3" />
|
<bounds left="0" top="0" right="4" bottom="3" />
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<!-- workaround for MAME selecting a 2-screen view by default -->
|
<!-- 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>
|
||||||
|
|
||||||
<view name="RGB">
|
<view name="RGB">
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
</element>
|
</element>
|
||||||
|
|
||||||
<view name="Default">
|
<view name="Default">
|
||||||
<screen tag="ioboard:screen">
|
|
||||||
<bounds left="0" top="0" right="1" bottom="1" />
|
|
||||||
</screen>
|
|
||||||
<screen tag="screen">
|
<screen tag="screen">
|
||||||
<bounds left="0" top="0" right="4" bottom="3" />
|
<bounds left="0" top="0" right="4" bottom="3" />
|
||||||
</screen>
|
</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>
|
||||||
|
|
||||||
<view name="Diagnostic">
|
<view name="Diagnostic">
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<mamelayout version="2">
|
<mamelayout version="2">
|
||||||
<view name="Main Screen Standard (4:3)">
|
<view name="Main Screen Standard (4:3)">
|
||||||
<bounds left="0" top="0" right="4" bottom="3" />
|
|
||||||
<screen index="0">
|
<screen index="0">
|
||||||
<bounds left="0" top="0" right="4" bottom="3" />
|
<bounds left="0" top="0" right="4" bottom="3" />
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<!-- workaround for MAME selecting a 3-screen view by default -->
|
<!-- 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="1"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
|
||||||
<screen index="2"><bounds left="10" top="0" right="14" bottom="3" /></screen>
|
<screen index="2"><bounds left="0" top="0" right="1" bottom="1" /><color alpha="0" /></screen>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view name="SegaScope Left LCD Standard (4:3)">
|
<view name="SegaScope Left LCD Standard (4:3)">
|
||||||
|
Loading…
Reference in New Issue
Block a user