dolphin/Source/Core
JosJuice 4b73d18eaa Re-implement FixCommonKeyIndex for WAD files
The old implementation of this was not able to distinguish between
a title that had the common key index set to 1 because it actually
was Korean and a title that had the common key index set to 1 due to
fakesigning. This new implementation solves the problem by
decrypting a content with each possible common key and checking
which result matches the provided SHA-1 hash.

The problem that the old implementation causes has only been reported
to affect a certain pirated WAD of Chronos Twins DX (WC6EUP), but it's
possible that the problem would start affecting more WADs if we add
support for the vWii common key (which uses index 2). Adding support
for the vWii common key would also prevent us from using the simpler
solution of always forcing the index to 0 if the title is not Korean.
2019-07-21 09:58:16 +02:00
..
AudioCommon Merge pull request #8135 from lioncash/cmake 2019-05-31 14:03:12 +02:00
Common Common/SettingsHandler: Use fmt for printing out the serial number 2019-07-16 04:23:20 -04:00
Core Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
DiscIO Re-implement FixCommonKeyIndex for WAD files 2019-07-21 09:58:16 +02:00
DolphinNoGUI Make DolphinAnalytics a true singleton - static local variables are initialized in a thread safe manner since C++11 2019-06-23 21:43:47 +02:00
DolphinQt DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
InputCommon Use separate libusb contexts to avoid thread safety issues 2019-06-26 17:55:51 +02:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
UpdaterCommon UpdaterCommon: Hide Updater before Dolphin quits 2019-06-23 19:47:18 +02:00
VideoBackends Merge pull request #8249 from lioncash/rect 2019-07-19 16:32:30 +10:00
VideoCommon Merge pull request #8249 from lioncash/rect 2019-07-19 16:32:30 +10:00
WinUpdater WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00