Debugger: Nametable Viewer - Fixed "add breakpoint" shortcut trying to add a breakpoint to the palette instead of nametable ram
This commit is contained in:
parent
0296dde9e9
commit
56c523ef93
1 changed files with 2 additions and 2 deletions
|
@ -577,7 +577,7 @@ namespace Mesen.GUI.Debugger.Controls
|
|||
|
||||
private void mnuEditInMemoryViewer_Click(object sender, EventArgs e)
|
||||
{
|
||||
DebugWindowManager.OpenMemoryViewer(_currentPpuAddress, DebugMemoryType.PpuMemory);
|
||||
DebugWindowManager.OpenMemoryViewer(_tileInfo.PpuAddress, DebugMemoryType.PpuMemory);
|
||||
}
|
||||
|
||||
private void mnuToggleBreakpoint_Click(object sender, EventArgs e)
|
||||
|
@ -586,7 +586,7 @@ namespace Mesen.GUI.Debugger.Controls
|
|||
return;
|
||||
}
|
||||
|
||||
PpuAddressTypeInfo addressInfo = InteropEmu.DebugGetPpuAbsoluteAddressAndType((uint)_currentPpuAddress);
|
||||
PpuAddressTypeInfo addressInfo = InteropEmu.DebugGetPpuAbsoluteAddressAndType((uint)_tileInfo.PpuAddress);
|
||||
|
||||
BreakpointManager.EditBreakpoint(new Breakpoint() {
|
||||
MemoryType = addressInfo.Type.ToMemoryType(),
|
||||
|
|
Loading…
Add table
Reference in a new issue