Skip to content

Commit

Permalink
Fix reading external ISB due to wrong variable used
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgamerz committed Jul 22, 2023
1 parent b1a86c8 commit 6aac5f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static MemoryStream GetWaveStreamFromISBEntry(ISACTListBankChunk bankEntr
{
using var extIsb = File.OpenRead(fullIsbPath);
extIsb.Seek((long)bankEntry.SampleOffset, SeekOrigin.Begin);
sampleData = extIsb.ReadToBuffer(bankEntry.SampleInfo.ByteLength);
sampleData = extIsb.ReadToBuffer(bankEntry.CompressionInfo.TotalSize);
}
}

Expand Down

0 comments on commit 6aac5f5

Please sign in to comment.