diff options
author | 2016-04-27 08:13:59 +0200 | |
---|---|---|
committer | 2016-04-27 08:13:59 +0200 | |
commit | cfee536f22f032c7ead65075f73cc6fd8549e68b (patch) | |
tree | f4b4703dd0295571684456c19668f508b3ddcb3a /src/mame/drivers/opwolf.cpp | |
parent | be8159d01eaa7533e7758bf07384501dbc6214f3 (diff) |
Cleanups and version bumpmame0173
Diffstat (limited to 'src/mame/drivers/opwolf.cpp')
-rw-r--r-- | src/mame/drivers/opwolf.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/opwolf.cpp b/src/mame/drivers/opwolf.cpp index 8503b06559f..f1e607c482f 100644 --- a/src/mame/drivers/opwolf.cpp +++ b/src/mame/drivers/opwolf.cpp @@ -393,7 +393,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( opwolfp_map, AS_PROGRAM, 16, opwolf_state ) AM_RANGE(0x000000, 0x03ffff) AM_ROM AM_RANGE(0x100000, 0x107fff) AM_RAM - + AM_RANGE(0x200000, 0x200fff) AM_RAM_DEVWRITE("palette", palette_device, write) AM_SHARE("palette") AM_RANGE(0x380000, 0x380003) AM_READ(opwolf_dsw_r) /* dip switches */ AM_RANGE(0x380000, 0x380003) AM_WRITE(opwolf_spritectrl_w) // usually 0x4, changes when you fire @@ -563,7 +563,7 @@ ADDRESS_MAP_END CUSTOM_INPUT_MEMBER(opwolf_state::opwolf_gun_x_r ) { - /* P1X - Have to remap 8 bit input value, into 0-319 visible range */ + /* P1X - Have to remap 8 bit input value, into 0-319 visible range */ int scaled = (ioport(P1X_PORT_TAG)->read() * 320 ) / 256; return (scaled + 0x15 + m_opwolf_gun_xoffs); } @@ -625,11 +625,11 @@ static INPUT_PORTS_START( opwolf ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) - + PORT_START("IN2") PORT_BIT( 0x01ff, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, opwolf_state, opwolf_gun_x_r, nullptr) PORT_BIT( 0xfe00, IP_ACTIVE_LOW, IPT_UNUSED ) - + PORT_START("IN3") PORT_BIT( 0x01ff, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, opwolf_state, opwolf_gun_y_r, nullptr) PORT_BIT( 0xfe00, IP_ACTIVE_LOW, IPT_UNUSED ) |