Skip to content

Commit

Permalink
Don't double-load subtitles from movies
Browse files Browse the repository at this point in the history
this duplicated all subtitles on every load... ???
- fixes bc16a2c
  • Loading branch information
Morilli committed Jun 5, 2024
1 parent 6ffe5a0 commit 7bb7cde
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/BizHawk.Client.Common/movie/BasicMovieInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,6 @@ protected virtual void LoadFields(ZipStateLoader bl)

Subtitles.Sort();
});

bl.GetLump(BinaryStateLump.Subtitles, abort: false, tr =>
{
while (tr.ReadLine() is string line)
{
if (!string.IsNullOrWhiteSpace(line))
{
Subtitles.AddFromString(line);
}
}

Subtitles.Sort();
});
}

private void LoadFramecount(ZipStateLoader bl)
Expand Down

0 comments on commit 7bb7cde

Please sign in to comment.