Merge pull request #13564 from jordan-woyak/triforce_ipl-warning

Core/Boot: Fix unused variable warning.
This commit is contained in:
Tilka 2025-04-23 03:26:48 +01:00 committed by GitHub
commit 871073eee2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -425,7 +425,6 @@ bool CBoot::Load_BS2(Core::System& system, const std::string& boot_rom_filename)
const u32 ipl_hash = Common::ComputeCRC32(data.data(), data.size()); const u32 ipl_hash = Common::ComputeCRC32(data.data(), data.size());
bool known_ipl = false; bool known_ipl = false;
bool pal_ipl = false; bool pal_ipl = false;
bool triforce_ipl = false;
switch (ipl_hash) switch (ipl_hash)
{ {
case NTSC_v1_0: case NTSC_v1_0:
@ -442,7 +441,6 @@ bool CBoot::Load_BS2(Core::System& system, const std::string& boot_rom_filename)
break; break;
case Triforce: case Triforce:
known_ipl = true; known_ipl = true;
triforce_ipl = true;
default: default:
PanicAlertFmtT("The IPL file is not a known good dump. (CRC32: {0:x})", ipl_hash); PanicAlertFmtT("The IPL file is not a known good dump. (CRC32: {0:x})", ipl_hash);
break; break;