From b61de16bc280fa9fd4c77eca663bb4962eff052e Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 11 Jul 2023 13:39:54 +0200 Subject: changela: small correction to prev commit --- src/mame/taito/changela.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/taito/changela.cpp b/src/mame/taito/changela.cpp index e9f8fb9329e..f9cb59c7aaa 100644 --- a/src/mame/taito/changela.cpp +++ b/src/mame/taito/changela.cpp @@ -464,7 +464,7 @@ void changela_state::draw_river(bitmap_ind16 &bitmap, int sy) for (int sx = 0; sx < 256; sx++) { - for (int i = 0; i < ((sx < 24) ? 2 : 4); i++) + for (int i = 0; i < ((sx < 16) ? 1 : 4); i++) { if (h_count > 0xff) { @@ -658,7 +658,7 @@ void changela_state::draw_tree(bitmap_ind16 &bitmap, int sy, int tree_num) for (int sx = 0; sx < 256; sx++) { - for (int i = 0; i < ((sx < 24) ? 2 : 4); i++) + for (int i = 0; i < ((sx < 16) ? 1 : 4); i++) { if (h_count > 0xff) { @@ -1216,7 +1216,7 @@ static INPUT_PORTS_START( changela ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_START("IN0") // 0xDx2C - PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x00) // SPARE + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x00) // SPARE PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x00) // SPARE PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x20) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x20) -- cgit v1.2.3