summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Pierpaolo Prazzoli <pierpaol@mamedev.org>2009-03-07 12:58:09 +0000
committer Pierpaolo Prazzoli <pierpaol@mamedev.org>2009-03-07 12:58:09 +0000
commit559617fdba5ae675ba93bb62ab07c5a5712ce109 (patch)
tree0d30645769a9dca329321f88829d98ad5b578910
parent63e062fd0b958699d6c41fd2cf7aeeb4014ea69c (diff)
Added service1 button tested in Dynamite Bomber (but doesn't work in game) and fixed little sprites priority problems in limenko.c
-rw-r--r--src/mame/drivers/limenko.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/limenko.c b/src/mame/drivers/limenko.c
index 4d059091853..05ced387236 100644
--- a/src/mame/drivers/limenko.c
+++ b/src/mame/drivers/limenko.c
@@ -327,9 +327,10 @@ static void draw_single_sprite(bitmap_t *dest_bmp,const gfx_element *gfx,
if( c != 0 )
{
if (pri[x]<priority)
+ {
dest[x] = pal_base+c;
-
- pri[x] = priority;
+ pri[x] = priority;
+ }
}
x_index += dx;
@@ -562,7 +563,8 @@ static INPUT_PORTS_START( sb2003 )
PORT_DIPSETTING( 0x20000000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00000000, DEF_STR( On ) )
PORT_BIT( 0x80000000, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(spriteram_bit_r, NULL) //changes spriteram location
- PORT_BIT( 0x5f10ffff, IP_ACTIVE_LOW, IPT_UNUSED )
+ PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_SERVICE1 ) // checked in dynabomb I/O test, but doesn't work in game
+ PORT_BIT( 0x5f00ffff, IP_ACTIVE_LOW, IPT_UNUSED )
INPUT_PORTS_END
static INPUT_PORTS_START( spotty )