make this bootleg run (nw)

This commit is contained in:
David Haywood 2015-09-29 13:12:18 +01:00
parent 804cd541ec
commit 549c5d1722
2 changed files with 12 additions and 1 deletions

View File

@ -1479,6 +1479,16 @@ DRIVER_INIT_MEMBER(trackfld_state,trackfld)
{
}
DRIVER_INIT_MEMBER(trackfld_state, trackfldnz)
{
UINT8 *ROM = memregion("maincpu")->base();
int i;
/* decrypt program rom */
for (i = 0x6000; i < 0x10000; i++)
ROM[i] = BITSWAP8(ROM[i], 6, 7, 5, 4, 3, 2, 1, 0);
}
DRIVER_INIT_MEMBER(trackfld_state,atlantol)
{
address_space &space = m_maincpu->space(AS_PROGRAM);
@ -1547,7 +1557,7 @@ GAME( 1983, hyprolym, trackfld, trackfld, trackfld, trackfld_state, trackfld, R
GAME( 1983, hyprolymb, trackfld, hyprolyb, trackfld, trackfld_state, trackfld, ROT0, "bootleg", "Hyper Olympic (bootleg, set 1)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )
GAME( 1983, hyprolymba,trackfld, hyprolyb, trackfld, trackfld_state, trackfld, ROT0, "bootleg", "Hyper Olympic (bootleg, set 2)", MACHINE_IMPERFECT_SOUND | MACHINE_SUPPORTS_SAVE )
GAME( 1996, atlantol, trackfld, atlantol, atlantol, trackfld_state, atlantol, ROT0, "bootleg", "Atlant Olimpic", MACHINE_SUPPORTS_SAVE )
GAME( 1982, trackfldnz,trackfld, trackfld, trackfld, trackfld_state, trackfld, ROT0, "bootleg? (Goldberg Enterprizes Inc.)", "Track & Field (NZ bootleg?)", MACHINE_NOT_WORKING)
GAME( 1982, trackfldnz,trackfld, trackfld, trackfld, trackfld_state, trackfldnz,ROT0, "bootleg? (Goldberg Enterprizes Inc.)", "Track & Field (NZ bootleg?)", MACHINE_SUPPORTS_SAVE) // bootleg of the Centuri version
GAME( 1988, mastkin, 0, mastkin, mastkin, trackfld_state, mastkin, ROT0, "Du Tech", "The Masters of Kin", MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE )

View File

@ -67,6 +67,7 @@ public:
DECLARE_DRIVER_INIT(atlantol);
DECLARE_DRIVER_INIT(wizzquiz);
DECLARE_DRIVER_INIT(mastkin);
DECLARE_DRIVER_INIT(trackfldnz);
UINT8 m_SN76496_latch;
DECLARE_WRITE8_MEMBER( konami_SN76496_latch_w ) { m_SN76496_latch = data; };