mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Removed unneeded value sets.
This commit is contained in:
@@ -100,9 +100,10 @@ namespace DiscImageChef.Filesystems
|
||||
uint magicGC = BigEndianBitConverter.ToUInt32(header, 0x1C);
|
||||
uint magicWii = BigEndianBitConverter.ToUInt32(header, 0x18);
|
||||
|
||||
if(magicGC == 0xC2339F3D) wii = false;
|
||||
else if(magicWii == 0x5D1C9EA3) wii = true;
|
||||
else return;
|
||||
if(magicWii == 0x5D1C9EA3)
|
||||
wii = true;
|
||||
else if(magicGC != 0xC2339F3D)
|
||||
return;
|
||||
|
||||
fields.discType = Encoding.ASCII.GetString(header, 0, 1);
|
||||
fields.gameCode = Encoding.ASCII.GetString(header, 1, 2);
|
||||
|
||||
Reference in New Issue
Block a user