dolphin/Source/Core
JosJuice cec601f1fb Read Wii disc metadata from the unencrypted header
The header of a Wii disc can be read from two places: The
unencrypted area at the beginning of the disc, or the beginning of
the game partition. The two copies are usually identical (except
for 0x60 and 0x61), but there are exceptions. For most of Dolphin's
history, we have been reading from the header inside the game
partition when getting metadata. This was however not the case
starting with 4.0-4901 and ending with 5.0-3762. This commit once
again makes Dolphin read metadata from the unencrypted header,
because of the following reasons that I recently was informed about:

- The "pink fish" disc has the game ID 410E01 in the unencrypted
  header but the placeholder game ID RELSAB in the partition header.
- The revisions of some games differ between the two headers,
  with the unencrypted one making more sense.
  (See https://bugs.dolphin-emu.org/issues/11387)

For better or worse, this also means that sloppily hacked games where
only the game ID in the unencrypted header has been changed now will
use that modified game ID. And unlike with the partition header,
there is no signing or hashing that can tell us whether the
unencrypted header has been modified by someone other than Nintendo.
2018-09-12 13:41:30 +02:00
..
AudioCommon AudioCommon: Implement WASAPI 2018-05-26 13:08:10 +02:00
Common Arm64Emitter: Remove unsequenced expressions 2018-08-30 07:38:37 +01:00
Core Merge pull request #7377 from Techjar/more-frameskip-junk 2018-08-28 08:29:43 +02:00
DiscIO Read Wii disc metadata from the unencrypted header 2018-09-12 13:41:30 +02:00
DolphinNoGUI Merge pull request #6983 from yourWaifu/add-discord-rpc-support 2018-06-25 00:06:27 +02:00
DolphinQt Qt/MD5Dialog: Fix pressing enter on NetPlay window causing dialog to close 2018-08-27 08:39:39 -04:00
InputCommon InputCommon/XInput2: Increase mouse buttons to 32 2018-08-27 08:47:32 -04:00
UICommon Read Wii disc metadata from the unencrypted header 2018-09-12 13:41:30 +02:00
Updater Updater: Show error when trying to launch directly 2018-05-05 23:32:08 +02:00
VideoBackends FramebufferManager: Dynamic selection of EFB depth format 2018-07-19 21:47:42 +10:00
VideoCommon Revert "ShaderGen: Drop broken fragment shader index workaround for Vulkan" 2018-09-01 05:32:56 +02:00
CMakeLists.txt Move DolphinQt2 to DolphinQt 2018-07-07 00:48:38 +02:00