mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Remove all image thrown exceptions.
This commit is contained in:
@@ -185,8 +185,11 @@ namespace Aaru.DiscImages
|
||||
ulong l1Off = (byteAddress & _l1Mask) >> _l1Shift;
|
||||
|
||||
if((long)l1Off >= _l1Table.LongLength)
|
||||
throw new ArgumentOutOfRangeException(nameof(l1Off),
|
||||
$"Trying to write past L1 table, position {l1Off} of a max {_l1Table.LongLength}");
|
||||
{
|
||||
ErrorMessage = $"Trying to write past L1 table, position {l1Off} of a max {_l1Table.LongLength}";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if(_l1Table[l1Off] == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user