Added VRAM Viewer and tried to fix noise channel
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Desktop
|
||||
{
|
||||
public SmsMachine _machine = null!;
|
||||
private DebuggerForm _debugger;
|
||||
private VramViewerForm _vramViewer;
|
||||
private Bitmap _screenBitmap = new Bitmap(256, 192, PixelFormat.Format32bppArgb);
|
||||
private NAudioPlayer _audioPlayer;
|
||||
private Task _emulatorTask;
|
||||
@@ -296,6 +297,16 @@ namespace Desktop
|
||||
_debugger.Show();
|
||||
}
|
||||
|
||||
private void vramViewerToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_vramViewer == null || _vramViewer.IsDisposed)
|
||||
{
|
||||
// Pass the VDP directly to the viewer!
|
||||
_vramViewer = new VramViewerForm(_machine.VideoProcessor);
|
||||
}
|
||||
_vramViewer.Show();
|
||||
}
|
||||
|
||||
private void includedToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user