disabled log generator caching in bk2, it has playback problems not found it basic testing, need to revisist this later

This commit is contained in:
adelikat 2023-05-26 19:19:05 -05:00
parent fde16fa5a3
commit f6135abe65
1 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ namespace BizHawk.Client.Common
public partial class Bk2Movie : BasicMovieInfo, IMovie public partial class Bk2Movie : BasicMovieInfo, IMovie
{ {
private Bk2Controller _adapter; private Bk2Controller _adapter;
private Bk2LogEntryGenerator _logGenerator; //private Bk2LogEntryGenerator _logGenerator;
public Bk2Movie(IMovieSession session, string filename) : base(filename) public Bk2Movie(IMovieSession session, string filename) : base(filename)
{ {
Session = session; Session = session;
@ -35,13 +35,13 @@ namespace BizHawk.Client.Common
public Bk2LogEntryGenerator LogGeneratorInstance(IController source) public Bk2LogEntryGenerator LogGeneratorInstance(IController source)
{ {
// Hack because initial movie loading is a mess, and you will immediate create a file with an undefined controller // Hack because initial movie loading is a mess, and you will immediate create a file with an undefined controller
if (!source.Definition.Any()) //if (!source.Definition.Any())
{ {
return new Bk2LogEntryGenerator(Emulator?.SystemId ?? SystemID, source); return new Bk2LogEntryGenerator(Emulator?.SystemId ?? SystemID, source);
} }
_logGenerator ??= new Bk2LogEntryGenerator(Emulator?.SystemId ?? SystemID, source); //_logGenerator ??= new Bk2LogEntryGenerator(Emulator?.SystemId ?? SystemID, source);
return _logGenerator; //return _logGenerator;
} }
public override int FrameCount => Log.Count; public override int FrameCount => Log.Count;