added 16:9 layout for virtua racing (and default nvram with the monitor to 16:9)

This commit is contained in:
Michaël Banaan Ananas 2012-10-25 21:26:10 +00:00
parent ea6483687b
commit 867f659b68
4 changed files with 18 additions and 1 deletions

1
.gitattributes vendored
View File

@ -4512,6 +4512,7 @@ src/mame/layout/videocba.lay svneol=native#text/plain
src/mame/layout/videodad.lay svneol=native#text/plain
src/mame/layout/videopin.lay svneol=native#text/plain
src/mame/layout/videopkr.lay svneol=native#text/plain
src/mame/layout/vr.lay svneol=native#text/plain
src/mame/layout/wecleman.lay svneol=native#text/plain
src/mame/layout/wico.lay svneol=native#text/plain
src/mame/layout/wildone.lay svneol=native#text/plain

View File

@ -634,6 +634,9 @@ Notes:
#include "machine/nvram.h"
#include "includes/model1.h"
#include "vr.lh"
READ16_MEMBER(model1_state::io_r)
{
static const char *const analognames[] = { "AN0", "AN1", "AN2", "AN3", "AN4", "AN5", "AN6", "AN7" };
@ -1270,6 +1273,9 @@ ROM_START( vr )
// this is the Daytona TGP program with some modifications needed for Virtua Racing
// the real TGP program is an internal ROM and still needs dumping
ROM_LOAD("vr-tgp.bin", 0x000000, 0x2000, BAD_DUMP CRC(3de33c7f) SHA1(acecc779c9d8fe39ded6c22492be5b7c25fd52db) )
ROM_REGION( 0x100, "nvram", 0 ) // default nvram
ROM_LOAD( "vr_defaults.nv", 0x000, 0x100, CRC(5ccdc835) SHA1(7e809de470f78fb897b938ca2aee2e12f1c8f3a4) )
ROM_END
ROM_START( vformula )
@ -1606,7 +1612,7 @@ static MACHINE_CONFIG_START( model1_vr, model1_state )
MACHINE_CONFIG_END
GAME( 1993, vf, 0, model1, vf, driver_device, 0, ROT0, "Sega", "Virtua Fighter", GAME_IMPERFECT_GRAPHICS )
GAME( 1992, vr, 0, model1_vr, vr, driver_device, 0, ROT0, "Sega", "Virtua Racing", GAME_IMPERFECT_GRAPHICS )
GAMEL(1992, vr, 0, model1_vr, vr, driver_device, 0, ROT0, "Sega", "Virtua Racing", GAME_IMPERFECT_GRAPHICS, layout_vr )
GAME( 1993, vformula, vr, model1_vr, vr, driver_device, 0, ROT0, "Sega", "Virtua Formula", GAME_IMPERFECT_GRAPHICS )
GAME( 1993, swa, 0, swa, swa, driver_device, 0, ROT0, "Sega", "Star Wars Arcade", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
GAME( 1994, wingwar, 0, model1, wingwar, driver_device, 0, ROT0, "Sega", "Wing War (World)", GAME_NOT_WORKING )

8
src/mame/layout/vr.lay Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
<view name="Wide (16:9)">
<screen index="0">
<bounds left="0" top="0" right="16" bottom="9" />
</screen>
</view>
</mamelayout>

View File

@ -2185,6 +2185,8 @@ $(DRIVERS)/mil4000.o: $(LAYOUT)/mil4000.lh
$(DRIVERS)/namcofl.o: $(LAYOUT)/namcofl.lh
$(DRIVERS)/model1.o: $(LAYOUT)/vr.lh
$(DRIVERS)/nbmj8688.o: $(LAYOUT)/nbmj8688.lh
$(DRIVERS)/namcos2.o: $(LAYOUT)/finallap.lh