From 69027bc48808d1ae09c50dd75a9b166aa301f29c Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 18 Jun 2017 23:50:09 +0100 Subject: [PATCH] DSPHLE: add another Japanese IPL checksum I'm not actually sure it's version 1.2 but it doesn't really matter anyway. --- Source/Core/Core/Boot/Boot.cpp | 2 ++ Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Boot/Boot.cpp b/Source/Core/Core/Boot/Boot.cpp index aedd11c417..2b695073e5 100644 --- a/Source/Core/Core/Boot/Boot.cpp +++ b/Source/Core/Core/Boot/Boot.cpp @@ -232,6 +232,7 @@ bool CBoot::Load_BS2(const std::string& boot_rom_filename) constexpr u32 JAP_v1_0 = 0x6DAC1F2A; // https://bugs.dolphin-emu.org/issues/8936 constexpr u32 JAP_v1_1 = 0xD235E3F9; + constexpr u32 JAP_v1_2 = 0x8BDABBD4; // Redump constexpr u32 PAL_v1_0 = 0x4F319F43; // https://forums.dolphin-emu.org/Thread-ipl-with-unknown-hash-dd8cab7c-problem-caused-by-my-pal-gamecube-bios?pid=435463#pid435463 @@ -258,6 +259,7 @@ bool CBoot::Load_BS2(const std::string& boot_rom_filename) break; case JAP_v1_0: case JAP_v1_1: + case JAP_v1_2: ipl_region = DiscIO::Region::NTSC_J; break; case PAL_v1_0: diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp index ced544be98..8eaf746154 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp @@ -260,7 +260,7 @@ std::unique_ptr UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii) case 0x6ca33a6d: // Zelda TP GC - US case 0xd643001f: // Super Mario Galaxy - US case 0x6ba3b3ea: // GC IPL - PAL - case 0x24b22038: // GC IPL - US + case 0x24b22038: // GC IPL - NTSC case 0x2fcdf1ec: // Zelda FSA - US case 0x4be6a5cb: // Pikmin 1 GC - US case 0x267fd05a: // Pikmin 1 GC - PAL