wallc.cpp: give sidampkr the same memory map and inputs as unkitpkr, for now (nw)

This commit is contained in:
Ivan Vangelista 2018-05-09 08:15:46 +02:00 committed by GitHub
parent 561c6d7106
commit cc65ce9e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -651,7 +651,7 @@ DRIVER_INIT_MEMBER(wallc_state, sidam)
for (int i = 0; i < 0x2000; i++)
{
uint8_t x = ROM[i];
switch(i & 0x4a) // preliminary, every case needs to be verified. Plaintext available in the 0x1150-0x1550 range. First 0x50 of code are very similar if not identical to unkitpkt.
switch(i & 0x4a) // seems correct. Plaintext available in the 0x1150-0x1550 range. First 0x50 of code are very similar if not identical to unkitpkr.
{
case 0x00: x = bitswap<8>(x ^ (BIT(x, 6) ? 0xaf : 0x03), 7, 3, 5, 2, 6, 4, 1, 0); break;
case 0x02: x = bitswap<8>(x ^ 0x77, 4, 6, 2, 5, 3, 7, 1, 0); break;
@ -744,5 +744,5 @@ GAME( 1984, wallc, 0, wallc, wallc, wallc_state, wallc, ROT0,
GAME( 1984, wallca, wallc, wallca, wallc, wallc_state, wallca, ROT0, "Midcoin", "Wall Crash (set 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1984, brkblast, wallc, wallc, wallc, wallc_state, wallca, ROT0, "bootleg (Fadesa)", "Brick Blast (bootleg of Wall Crash)", MACHINE_SUPPORTS_SAVE ) // Spanish bootleg board, Fadesa stickers / text on various components
GAME( 1984, sidampkr, 0, wallc, wallc, wallc_state, sidam, ROT270, "Sidam", "unknown Sidam Poker", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // strings in English and French, same codebase as unkitpkr
GAME( 1984, sidampkr, 0, unkitpkr, unkitpkr, wallc_state, sidam, ROT270, "Sidam", "unknown Sidam Poker", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // strings in English and French, same codebase as unkitpkr
GAME( 198?, unkitpkr, 0, unkitpkr, unkitpkr, wallc_state, unkitpkr, ROT0, "<unknown>", "unknown Italian poker game", MACHINE_SUPPORTS_SAVE )