From 7bb7cdeaee19d27eefacad79aaef16200e1cf5bd Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Wed, 5 Jun 2024 22:40:38 +0200 Subject: [PATCH] Don't double-load subtitles from movies this duplicated all subtitles on every load... ??? - fixes bc16a2cdaad7917eba117f42b20854d1425df452 --- src/BizHawk.Client.Common/movie/BasicMovieInfo.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs b/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs index 82361ffc24..ec0bc882a8 100644 --- a/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs +++ b/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs @@ -223,19 +223,6 @@ namespace BizHawk.Client.Common 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)