From be2da8dc7b79a4bee3d4ee5736e8619ed66a8c4d Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 26 Oct 2025 21:53:53 -0500 Subject: Triforce: Code cleanups. --- Source/Core/DiscIO/VolumeDisc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DiscIO/VolumeDisc.cpp') diff --git a/Source/Core/DiscIO/VolumeDisc.cpp b/Source/Core/DiscIO/VolumeDisc.cpp index a915df1224..12e92eb0f8 100644 --- a/Source/Core/DiscIO/VolumeDisc.cpp +++ b/Source/Core/DiscIO/VolumeDisc.cpp @@ -28,9 +28,9 @@ std::string VolumeDisc::GetGameID(const Partition& partition) const // Construct game ID from the BTID id[0] = 'G'; - memcpy(id + 1, boot_id->gameId + 2, 2); + memcpy(id + 1, boot_id->game_id.data() + 2, 2); - switch (boot_id->regionFlags) + switch (boot_id->region_flags) { default: case 0x02: // JAPAN @@ -83,7 +83,7 @@ Country VolumeDisc::GetCountry(const Partition& partition) const { const BootID* boot_id = static_cast(this)->GetTriforceBootID(); - switch (boot_id->regionFlags) + switch (boot_id->region_flags) { default: case 0x02: // JAPAN @@ -166,7 +166,7 @@ std::string VolumeDisc::GetInternalName(const Partition& partition) const if (GetVolumeType() == Platform::Triforce) { const BootID* boot_id = static_cast(this)->GetTriforceBootID(); - return DecodeString(boot_id->gameName); + return DecodeString(boot_id->game_name); } if (!Read(0x20, sizeof(name), reinterpret_cast(&name), partition)) -- cgit v1.2.3