private void TogglePause() { if (trkPosition.Value == trkPosition.Maximum) { HistoryViewerApi.HistoryViewerSetPosition(0); } if (_paused) { EmuApi.Resume(EmuApi.ConsoleId.HistoryViewer); } else { EmuApi.Pause(EmuApi.ConsoleId.HistoryViewer); } }
private void trkPosition_ValueChanged(object sender, EventArgs e) { HistoryViewerApi.HistoryViewerSetPosition((UInt32)trkPosition.Value); }