mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
fix njinaw (nw)
This commit is contained in:
parent
32c02fe850
commit
4ee5dd2714
@ -322,7 +322,7 @@ rumbling on a subwoofer in the cabinet.)
|
||||
#include "includes/taitoipt.h"
|
||||
#include "includes/ninjaw.h"
|
||||
|
||||
extern const internal_layout layout_darius;
|
||||
#include "ninjaw.lh"
|
||||
|
||||
void ninjaw_state::parse_control( ) /* assumes Z80 sandwiched between 68Ks */
|
||||
{
|
||||
@ -749,7 +749,7 @@ static MACHINE_CONFIG_START( ninjaw, ninjaw_state )
|
||||
MCFG_PALETTE_ADD("palette2", 4096)
|
||||
MCFG_PALETTE_ADD("palette3", 4096)
|
||||
|
||||
MCFG_DEFAULT_LAYOUT(layout_darius)
|
||||
MCFG_DEFAULT_LAYOUT(layout_ninjaw)
|
||||
|
||||
MCFG_SCREEN_ADD("lscreen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
@ -869,7 +869,7 @@ static MACHINE_CONFIG_START( darius2, ninjaw_state )
|
||||
MCFG_PALETTE_ADD("palette2", 4096)
|
||||
MCFG_PALETTE_ADD("palette3", 4096)
|
||||
|
||||
MCFG_DEFAULT_LAYOUT(layout_darius)
|
||||
MCFG_DEFAULT_LAYOUT(layout_ninjaw)
|
||||
|
||||
MCFG_SCREEN_ADD("lscreen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
|
70
src/mame/layout/ninjaw.lay
Normal file
70
src/mame/layout/ninjaw.lay
Normal file
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
<view name="Screen 0 Standard (4:3)">
|
||||
<screen index="0">
|
||||
<bounds left="0" top="0" right="4" bottom="3" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Screen 1 Standard (4:3)">
|
||||
<screen index="1">
|
||||
<bounds left="0" top="0" right="4" bottom="3" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Screen 2 Standard (4:3)">
|
||||
<screen index="2">
|
||||
<bounds left="0" top="0" right="4" bottom="3" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Screen 0 Pixel Aspect (~scr0nativexaspect~:~scr0nativeyaspect~)">
|
||||
<screen index="0">
|
||||
<bounds left="0" top="0" right="~scr0width~" bottom="~scr0height~" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Screen 1 Pixel Aspect (~scr1nativexaspect~:~scr1nativeyaspect~)">
|
||||
<screen index="1">
|
||||
<bounds left="0" top="0" right="~scr1width~" bottom="~scr1height~" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Screen 2 Pixel Aspect (~scr2nativexaspect~:~scr2nativeyaspect~)">
|
||||
<screen index="2">
|
||||
<bounds left="0" top="0" right="~scr2width~" bottom="~scr2height~" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Triple Side-by-Side">
|
||||
<screen index="0">
|
||||
<bounds x="0" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
<screen index="1">
|
||||
<bounds x="4" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
<screen index="2">
|
||||
<bounds x="8" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Left Half">
|
||||
<bounds x="0" y="0" width="6" height="3" />
|
||||
<screen index="0">
|
||||
<bounds x="0" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
<screen index="1">
|
||||
<bounds x="4" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
</view>
|
||||
|
||||
<view name="Right Half">
|
||||
<bounds x="6" y="0" width="6" height="3" />
|
||||
<screen index="1">
|
||||
<bounds x="4" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
<screen index="2">
|
||||
<bounds x="8" y="0" width="4" height="3" />
|
||||
</screen>
|
||||
</view>
|
||||
</mamelayout>
|
Loading…
Reference in New Issue
Block a user