mirror of
https://github.com/holub/mame
synced 2025-05-28 08:33:05 +03:00
Fixed for good trasparency issues in Three Dealers Casino House [Angelo Salese]
This commit is contained in:
parent
af6d283115
commit
cd7d6d7621
@ -225,9 +225,7 @@ INPUT_PORTS_END
|
||||
// stops the game hanging..
|
||||
static CUSTOM_INPUT( nb1413m3_hackbusyflag_r )
|
||||
{
|
||||
static int i = 0;
|
||||
i ^= 1;
|
||||
return i;
|
||||
return mame_rand(field->port->machine) & 3;
|
||||
}
|
||||
|
||||
static INPUT_PORTS_START( threeds )
|
||||
@ -382,8 +380,7 @@ static INPUT_PORTS_START( threeds )
|
||||
PORT_BIT( 0xe0, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("SYSTEM")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(nb1413m3_hackbusyflag_r, NULL) // DRAW BUSY
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED ) //
|
||||
PORT_BIT( 0x03, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM(nb1413m3_hackbusyflag_r, NULL) // DRAW BUSY
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 ) // MEMORY RESET
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // ANALYZER
|
||||
PORT_SERVICE( 0x10, IP_ACTIVE_LOW ) // TEST
|
||||
@ -548,4 +545,4 @@ ROM_END
|
||||
|
||||
|
||||
GAME( 1985, pastelg, 0, pastelg, pastelg, pastelg, ROT0, "Nichibutsu", "Pastel Gal (Japan 851224)", 0 )
|
||||
GAME( 1985, 3ds, 0, threeds, threeds, pastelg, ROT0, "Nichibutsu", "Three Ds - Three Dealers Casino House", GAME_IMPERFECT_GRAPHICS )
|
||||
GAME( 1985, 3ds, 0, threeds, threeds, pastelg, ROT0, "Nichibutsu", "Three Ds - Three Dealers Casino House", 0 )
|
||||
|
@ -270,8 +270,11 @@ static void pastelg_gfxdraw(running_machine *machine)
|
||||
}
|
||||
else
|
||||
{
|
||||
color = ((pastelg_palbank * 0x10) + pastelg_clut[color]);
|
||||
pastelg_videoram[(dy * width) + dx] = color;
|
||||
if(pastelg_clut[color] != 0)
|
||||
{
|
||||
color = ((pastelg_palbank * 0x10) + pastelg_clut[color]);
|
||||
pastelg_videoram[(dy * width) + dx] = color;
|
||||
}
|
||||
}
|
||||
|
||||
nb1413m3_busyctr++;
|
||||
|
Loading…
Reference in New Issue
Block a user