bonusCD support
This commit is contained in:
@@ -116,11 +116,12 @@ Public Class ISOTools
|
||||
|
||||
Public Function makeFileList(ByVal ISOname As String)
|
||||
Dim a = New List(Of fileInfo)
|
||||
|
||||
Dim FilesSectors = getCDfile(ISOname, &H17, &H1B88).ToArray
|
||||
Dim maxFiles = 880
|
||||
Dim FilesSectors = getCDfile(ISOname, &H17, &H4000).ToArray
|
||||
If ISOname.Contains("KUDOS") Then FilesSectors = getCDfile(ISOname, &H31, &H1B88).ToArray
|
||||
If ISOname.Contains("Sumaru TV") Then maxFiles = 1124
|
||||
|
||||
For x = 0 To 880
|
||||
For x = 0 To maxFiles
|
||||
a.Add(New fileInfo With {.FileID = x, .Sector = Form1.Read32bitNum(FilesSectors, x * 8), .Sizw = Form1.Read32bitNum(FilesSectors, x * 8 + 4)})
|
||||
Next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user