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