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
Use CRC32 for IPL checks and update hashes #3152
Conversation
| const u32 JAP_v1_1 = 0x46E899DB; | ||
| const u32 JAP_unknown = 0x87424396; | ||
| const u32 PAL_v1_0 = 0xAF912C43; | ||
| const u32 PAL_unknown = 0xA0EA7341; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
54c656d
to
842da1d
Compare
|
Thanks for the feedback! I removed everything that was commented out and also added a cast from size_t to u32 to make the Windows buildbot happy. |
842da1d
to
d49e076
Compare
| const u32 JAP_v1_1 = 0xD235E3F9; // https://bugs.dolphin-emu.org/issues/8936 | ||
| const u32 PAL_v1_0 = 0x4F319F43; // Redump | ||
| const u32 PAL_v1_2 = 0xAD1B7F16; // Redump | ||
|
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This changes the hashing algorithm from Adler32 to CRC32 for it is more widely used and therefore makes it easier to verify hashes. For example the Redump database does provide CRC32 hashes, while it doesn't have Adler32 ones. Additionally adds new hashes from the bugtracker and the forums and removes unknown ones.
d49e076
to
5fbf8f5
Compare
|
@dolphin-emu-bot rebuild |
|
Is there any reason for us not to merge this??? |
|
It looks good to me. |
Use CRC32 for IPL checks and update hashes
This changes the hashing algorithm from Adler32 to CRC32 for it
is more widely used and therefore makes it easier to verify hashes.
For example the Redump database does provide CRC32 hashes, while it
doesn't have Adler32 ones.
Additionally adds new hashes from the bugtracker and the forums and
removes unknown ones.
Should fix issues https://bugs.dolphin-emu.org/issues/7035 and https://bugs.dolphin-emu.org/issues/8936.