From accc7d17611ea22a891b651d4d8c3a51a9a0e1e4 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 13 Feb 2008 08:34:24 +0000 Subject: [PATCH] From: mellery [mailto:mellery@gmail.com] Subject: diff for police trainer Attached is a diff adding diplocations and marks some as unused based on manual and schematics. based on 0.123 Mike --- src/mame/drivers/policetr.c | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/src/mame/drivers/policetr.c b/src/mame/drivers/policetr.c index 122081bc0ab..c439765d570 100644 --- a/src/mame/drivers/policetr.c +++ b/src/mame/drivers/policetr.c @@ -383,28 +383,16 @@ static INPUT_PORTS_START( policetr ) PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START - PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown )) - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x01, DEF_STR( On )) - PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown )) - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x02, DEF_STR( On )) - PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown )) - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x04, DEF_STR( On )) - PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown )) - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x08, DEF_STR( On )) - PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown )) - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x10, DEF_STR( On )) - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown )) /* Manuals show dips 1 through 6 as unused */ - PORT_DIPSETTING( 0x00, DEF_STR( Off )) - PORT_DIPSETTING( 0x20, DEF_STR( On )) - PORT_DIPNAME( 0x40, 0x40, "Monitor Sync") + PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "SW1:1" ) + PORT_DIPUNUSED_DIPLOC( 0x02, 0x02, "SW1:2" ) + PORT_DIPUNUSED_DIPLOC( 0x04, 0x04, "SW1:3" ) + PORT_DIPUNUSED_DIPLOC( 0x08, 0x08, "SW1:4" ) + PORT_DIPUNUSED_DIPLOC( 0x10, 0x10, "SW1:5" ) + PORT_DIPUNUSED_DIPLOC( 0x20, 0x20, "SW1:6" ) + PORT_DIPNAME( 0x40, 0x40, "Monitor Sync") PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x00, "+") PORT_DIPSETTING( 0x40, "-") - PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen )) /* For use with mirrored CRTs - Not supported */ + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen )) PORT_DIPLOCATION("SW1:8") /* For use with mirrored CRTs - Not supported */ PORT_DIPSETTING( 0x00, DEF_STR( Off )) PORT_DIPSETTING( 0x80, DEF_STR( On )) /* Will invert the Y axis of guns */ PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )