27 lines
611 B
C#
27 lines
611 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Mesen.GUI.Debugger.Controls
|
|
{
|
|
public partial class ctrlFrameCounterInfo : UserControl
|
|
{
|
|
public ctrlFrameCounterInfo()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void ProcessState(ref ApuFrameCounterState state)
|
|
{
|
|
chkFiveStepMode.Checked = state.FiveStepMode;
|
|
chkIrqEnabled.Checked = state.IrqEnabled;
|
|
txtCurrentStep.Text = state.SequencePosition.ToString();
|
|
}
|
|
}
|
|
}
|