mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Refactor and code cleanup.
This commit is contained in:
@@ -127,7 +127,7 @@ namespace DiscImageChef.Filesystems
|
||||
bytes *= 0x100000000;
|
||||
bytes += drSb.disc_size;
|
||||
|
||||
if(bytes > (imagePlugin.GetSectors() * (ulong)imagePlugin.GetSectorSize()))
|
||||
if(bytes > (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
@@ -193,7 +193,7 @@ namespace DiscImageChef.Filesystems
|
||||
zones *= 0x100000000;
|
||||
zones += drSb.nzones;
|
||||
|
||||
if(bytes > (imagePlugin.GetSectors() * (ulong)imagePlugin.GetSectorSize()))
|
||||
if(bytes > (imagePlugin.GetSectors() * imagePlugin.GetSectorSize()))
|
||||
return;
|
||||
|
||||
string discname = StringHandlers.CToString(drSb.disc_name);
|
||||
|
||||
Reference in New Issue
Block a user