Implemenmted rendering priorities
This commit is contained in:
@@ -10,9 +10,9 @@ namespace Desktop
|
||||
{
|
||||
private readonly Z80 _cpu;
|
||||
private readonly SmsMemoryBus _memoryBus;
|
||||
private readonly Form1 _mainForm;
|
||||
private readonly ParsonsForm1 _mainForm;
|
||||
|
||||
public DebuggerForm(Z80 cpu, SmsMemoryBus memoryBus, Form1 mainForm)
|
||||
public DebuggerForm(Z80 cpu, SmsMemoryBus memoryBus, ParsonsForm1 mainForm)
|
||||
{
|
||||
InitializeComponent();
|
||||
_cpu = cpu;
|
||||
@@ -103,9 +103,9 @@ namespace Desktop
|
||||
lblIE.Text = $"Interrupt Mode: {_cpu.InterruptMode}";
|
||||
lblFlags.Text = $"Flags: {_cpu.GetFlagsString()}";
|
||||
lblTStates.Text = $"T-States: {_cpu.TotalTStates}";
|
||||
//lblFrames.Text = $"Frames Rendered: {_mainForm.TotalFrameCount}";
|
||||
//lblFrameTime.Text = $"Frame Time: {((float)_mainForm.FrameTime):F1}ms";
|
||||
//lblFPS.Text = $"FPS: {_mainForm.FramesPerSecond:F2}";
|
||||
lblFrames.Text = $"Frames Rendered: {_mainForm.TotalFrameCount}";
|
||||
lblFrameTime.Text = $"Frame Time: {((float)_mainForm.FrameTime):F1}ms";
|
||||
lblFPS.Text = $"FPS: {_mainForm.FramesPerSecond:F2}";
|
||||
UpdateMemoryView();
|
||||
UpdateStackView();
|
||||
UpdateDisassemblyView();
|
||||
|
||||
Reference in New Issue
Block a user