mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix reading Redump GD-ROM dumps
This commit is contained in:
@@ -163,7 +163,7 @@ namespace Aaru.DiscImages
|
||||
bool inTruripTrackHash = false;
|
||||
bool firstTrackInSession = false;
|
||||
|
||||
ulong gdRomSession2Offset = 45000;
|
||||
const ulong gdRomSession2Offset = 45000;
|
||||
|
||||
while(_cueStream.Peek() >= 0)
|
||||
{
|
||||
@@ -1270,6 +1270,9 @@ namespace Aaru.DiscImages
|
||||
|
||||
_imageInfo.Sectors = _discImage.Sessions.OrderByDescending(s => s.EndSector).First().EndSector + 1;
|
||||
|
||||
if(_discImage.IsRedumpGigadisc)
|
||||
_imageInfo.Sectors = 549150;
|
||||
|
||||
AaruConsole.DebugWriteLine("CDRWin plugin", "Session information:");
|
||||
AaruConsole.DebugWriteLine("CDRWin plugin", "\tDisc contains {0} sessions", _discImage.Sessions.Count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user