funworld/supercrd.cpp: redline uses the same XOR table as the supst sets

This commit is contained in:
Ivan Vangelista 2023-06-24 08:23:17 +02:00
parent 2fcb6101b0
commit 14ced13fb2

View File

@ -1014,7 +1014,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes
{ 0x12, 0x03, 0x12, 0x51, 0x00, 0x52, 0x50, 0x40 }, // 0x5x and 0x7x
{ 0x12, 0x53, 0x41, 0x02, unkn, unkn, 0x00, 0x41 }, // 0x8x and 0xax
{ 0x51, unkn, 0x03, 0x40, 0x42, unkn, 0x01, 0x03 }, // 0x9x and 0xbx
{ 0x00, 0x10, 0x52, 0x01, unkn, 0x00, 0x41, 0x12 }, // 0xcx and 0xex
{ 0x00, 0x10, 0x52, 0x01, 0x41, 0x00, 0x41, 0x12 }, // 0xcx and 0xex
{ 0x50, 0x52, 0x41, unkn, 0x41, unkn, 0x40, 0x53 } // 0xdx and 0xfx
},
{
@ -1025,7 +1025,7 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes
{ 0x53, 0x03, 0x10, 0x53, 0x51, 0x43, unkn, unkn }, // 0x8x and 0xax
{ 0x10, 0x53, 0x03, 0x10, 0x42, 0x01, 0x42, 0x11 }, // 0x9x and 0xbx
{ 0x50, 0x52, 0x43, 0x03, 0x43, 0x00, 0x51, 0x52 }, // 0xcx and 0xex
{ 0x01, 0x12, 0x00, 0x12, 0x10, unkn, 0x40, 0x53 } // 0xdx and 0xfx
{ 0x01, 0x12, 0x00, 0x12, 0x10, 0x50, 0x40, 0x53 } // 0xdx and 0xfx
},
{
{ 0x50, 0x12, 0x53, 0x03, 0x02, 0x02, 0x50, 0x40 }, // 0x0x and 0x2x
@ -1033,8 +1033,8 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes
{ 0x01, 0x42, 0x01, 0x01, 0x10, 0x00, 0x52, 0x03 }, // 0x4x and 0x6x
{ 0x52, 0x03, 0x43, 0x00, 0x42, 0x40, 0x41, 0x11 }, // 0x5x and 0x7x
{ unkn, 0x01, 0x53, 0x41, 0x13, 0x02, 0x40, 0x11 }, // 0x8x and 0xax
{ 0x02, 0x02, 0x40, unkn, 0x50, 0x43, 0x13, 0x40 }, // 0x9x and 0xbx
{ 0x41, 0x51, 0x02, 0x00, 0x11, 0x00, 0x12, 0x43 }, // 0xcx and 0xex
{ 0x02, 0x02, 0x40, 0x10, 0x50, 0x43, 0x13, 0x40 }, // 0x9x and 0xbx
{ 0x41, 0x51, 0x02, unkn, 0x11, 0x00, 0x12, 0x43 }, // 0xcx and 0xex
{ 0x11, 0x02, 0x11, 0x42, 0x40, 0x40, 0x50, 0x10 } // 0xdx and 0xfx
},
{
@ -1042,9 +1042,9 @@ void supercrd_state::init_supst() // TODO: check unknown opcodes
{ 0x53, 0x02, 0x43, 0x11, 0x53, 0x12, 0x03, 0x11 }, // 0x1x and 0x3x
{ 0x13, 0x41, 0x03, 0x03, 0x41, 0x00, 0x52, 0x50 }, // 0x4x and 0x6x
{ 0x41, 0x13, 0x00, 0x41, 0x00, 0x51, 0x03, 0x01 }, // 0x5x and 0x7x
{ 0x13, 0x43, 0x03, 0x50, 0x52, unkn, 0x51, unkn }, // 0x8x and 0xax
{ 0x13, 0x43, 0x03, 0x50, 0x52, unkn, 0x51, 0x11 }, // 0x8x and 0xax
{ 0x12, 0x43, 0x02, 0x53, 0x11, unkn, 0x50, 0x02 }, // 0x9x and 0xbx
{ 0x01, 0x42, 0x12, 0x51, 0x50, 0x00, unkn, 0x12 }, // 0xcx and 0xex
{ 0x01, 0x42, 0x12, 0x51, 0x50, 0x00, 0x42, 0x12 }, // 0xcx and 0xex
{ 0x41, 0x00, 0x52, 0x10, 0x52, 0x42, 0x51, 0x03 } // 0xdx and 0xfx
}
};
@ -1074,4 +1074,4 @@ GAME( 1990, gampo816, 0, supercrd, supercrd, supercrd_state, init_gampo,
GAME( 1990, gampo812, 0, supercrd, supercrd, supercrd_state, init_gampo, ROT0, "Fun World", "Gamble Poker (v812, encrypted)", MACHINE_NOT_WORKING )
GAME( 1994, supst839, 0, supercrd, supercrd, supercrd_state, init_supst, ROT90, "Fun World", "Super Stars (v839, encrypted)", MACHINE_NOT_WORKING )
GAME( 1990, supst834, 0, supercrd, supercrd, supercrd_state, init_supst, ROT90, "Fun World", "Super Stars (v834, encrypted)", MACHINE_NOT_WORKING )
GAME( 1989, redline, 0, supercrd, supercrd, supercrd_state, empty_init, ROT90, "Fun World", "Red Line (v808, encrypted)", MACHINE_NOT_WORKING )
GAME( 1989, redline, 0, supercrd, supercrd, supercrd_state, init_supst, ROT90, "Fun World", "Red Line (v808, encrypted)", MACHINE_NOT_WORKING )