put the source reference onto its own line to avoid the awkward formatting

also, make them constexpr, because i guess it makes sense...
This commit is contained in:
BhaaL 2017-03-13 17:51:08 +01:00
parent 907e73a1fc
commit 70a25bef4c
1 changed files with 17 additions and 13 deletions

View File

@ -167,19 +167,23 @@ bool CBoot::LoadMapFromFilename()
// It does not initialize the hardware or anything else like BS1 does. // It does not initialize the hardware or anything else like BS1 does.
bool CBoot::Load_BS2(const std::string& _rBootROMFilename) bool CBoot::Load_BS2(const std::string& _rBootROMFilename)
{ {
// CRC32 // CRC32 hashes of the IPL file; including source where known
const u32 USA_v1_0 = // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385344#pid385344
0x6D740AE7; // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385344#pid385344 constexpr u32 USA_v1_0 = 0x6D740AE7;
const u32 USA_v1_1 = // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385334#pid385334
0xD5E6FEEA; // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385334#pid385334 constexpr u32 USA_v1_1 = 0xD5E6FEEA;
const u32 USA_v1_2 = // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385399#pid385399
0x86573808; // https://forums.dolphin-emu.org/Thread-unknown-hash-on-ipl-bin?pid=385399#pid385399 constexpr u32 USA_v1_2 = 0x86573808;
const u32 BRA_v1_0 = // GameCubes sold in Brazil have this IPL. Same as USA v1.2 but localized
0x667D0B64; // GameCubes sold in Brazil have this IPL. Same as USA v1.2 but localized constexpr u32 BRA_v1_0 = 0x667D0B64;
const u32 JAP_v1_0 = 0x6DAC1F2A; // Redump // Redump
const u32 JAP_v1_1 = 0xD235E3F9; // https://bugs.dolphin-emu.org/issues/8936 constexpr u32 JAP_v1_0 = 0x6DAC1F2A;
const u32 PAL_v1_0 = 0x4F319F43; // Redump // https://bugs.dolphin-emu.org/issues/8936
const u32 PAL_v1_2 = 0xAD1B7F16; // Redump constexpr u32 JAP_v1_1 = 0xD235E3F9;
// Redump
constexpr u32 PAL_v1_0 = 0x4F319F43;
// Redump
constexpr u32 PAL_v1_2 = 0xAD1B7F16;
// Load the whole ROM dump // Load the whole ROM dump
std::string data; std::string data;