Skip to content

igs/pgmcrypt.cpp: fix decryption for fearless [XingXing] #12551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/mame/igs/pgmcrypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,6 @@ void lhzb4_decrypt(running_machine &machine)


//////////////////////////////////////////////////////////////////////
// should fearless and superkds be using the same decrypt? fearless will fail ROM check with superkds function at the moment

static const uint8_t superkds_tab[256] = {
0x49, 0x47, 0x53, 0x30, 0x32, 0x30, 0x32, 0x52, 0x44, 0x32, 0x30, 0x35, 0x30, 0x31, 0x30, 0x33,
Expand Down Expand Up @@ -1453,13 +1452,12 @@ void fearless_decrypt(running_machine &machine)
{
uint16_t x = src[i];

// might not be 100% correct...
IGS27_CRYPT1
// IGS27_CRYPT2
IGS27_CRYPT3_ALT2
IGS27_CRYPT2_ALT
IGS27_CRYPT3
IGS27_CRYPT4
// IGS27_CRYPT5
IGS27_CRYPT6_ALT
IGS27_CRYPT6
IGS27_CRYPT7
IGS27_CRYPT8

Expand Down
Loading