public RegisterWrite(FileManagement.VGMCommands _command, int _wait, int _data, int _pattern, bool _end = false) { command = _command; data = _data; wait = _wait; end = _end; pattern = _pattern; }
private void RegisterWritten(FileManagement.VGMCommands command, int data) { if (!recordRegisters) { return; } m_RegisterWrites.Add(new RegisterWrite(command, m_WriteWait, data, playback.currentPattern)); m_WriteWait = 0; }