mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Early exit.
This commit is contained in:
@@ -78,6 +78,10 @@ namespace DiscImageChef.PartPlugins
|
||||
}
|
||||
|
||||
X68kTable table = BigEndianMarshal.ByteArrayToStructureBigEndian<X68kTable>(sector);
|
||||
|
||||
if(table.magic != X68kMagic)
|
||||
return false;
|
||||
|
||||
for(int i = 0; i < table.entries.Length; i++)
|
||||
table.entries[i] = BigEndianMarshal.SwapStructureMembersEndian(table.entries[i]);
|
||||
|
||||
@@ -86,9 +90,6 @@ namespace DiscImageChef.PartPlugins
|
||||
DicConsole.DebugWriteLine("Human68k plugin", "table.size2 = {0:X4}", table.size2);
|
||||
DicConsole.DebugWriteLine("Human68k plugin", "table.unknown = {0:X4}", table.unknown);
|
||||
|
||||
if(table.magic != X68kMagic)
|
||||
return false;
|
||||
|
||||
ulong counter = 0;
|
||||
|
||||
foreach(X68kEntry entry in table.entries)
|
||||
|
||||
Reference in New Issue
Block a user