AwcFile parsing improvements

This commit is contained in:
dexy
2020-02-06 05:33:12 +11:00
Unverified
parent 1194334acb
commit 4020327e64
3 changed files with 254 additions and 184 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ namespace CodeWalker.Forms
var item = PlayListView.Items.Add(audio.Name);
item.SubItems.Add(audio.Type);
item.SubItems.Add(audio.LengthStr);
item.SubItems.Add(TextUtil.GetBytesReadable(audio.Data.Length));
item.SubItems.Add(TextUtil.GetBytesReadable(audio.Data?.Length ?? 0));
item.Tag = audio;
totalLength += audio.Length;
}