colt: Fix colors

This commit is contained in:
AJR 2017-07-08 23:56:21 -04:00
parent a5b3ca9717
commit 9aff6e781d
2 changed files with 5 additions and 4 deletions

View File

@ -410,6 +410,10 @@ WRITE8_MEMBER(nycaptor_state::cyclshtg_generic_control_w)
{
m_generic_control_reg = data;
membank("bank1")->set_entry((data >> 2) & 3);
// shared palette data gets overwritten in colt without this
if (m_gametype == 2)
m_subcpu->set_input_line(INPUT_LINE_RESET, BIT(data, 1) ? CLEAR_LINE : ASSERT_LINE);
}
@ -1339,4 +1343,4 @@ GAME( 1985, nycaptor, 0, nycaptor, nycaptor, nycaptor_state, nycaptor, RO
GAME( 1986, cyclshtg, 0, cyclshtg, cyclshtg, nycaptor_state, cyclshtg, ROT90, "Taito", "Cycle Shooting", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE )
/* bootlegs */
GAME( 1986, bronx, cyclshtg, bronx, bronx, nycaptor_state, bronx, ROT90, "bootleg", "Bronx", MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )
GAME( 1986, colt, nycaptor, bronx, colt, nycaptor_state, colt, ROT0, "bootleg", "Colt", MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND | MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE )
GAME( 1986, colt, nycaptor, bronx, colt, nycaptor_state, colt, ROT0, "bootleg", "Colt", MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )

View File

@ -85,9 +85,6 @@ WRITE8_MEMBER(nycaptor_state::nycaptor_videoram_w)
WRITE8_MEMBER(nycaptor_state::nycaptor_palette_w)
{
if (m_gametype == 2) //colt
return;
if (offset & 0x100)
m_palette->write_ext(space, (offset & 0xff) + (m_palette_bank << 8), data);
else