mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Debugger: Fixed code preview in tooltips
This commit is contained in:
parent
be8cc9110d
commit
9deb908faf
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ namespace Mesen.GUI.Debugger
|
|||
{ "Value", $"${byteValue.ToString("X2")} (byte){Environment.NewLine}${wordValue.ToString("X4")} (word)" }
|
||||
};
|
||||
|
||||
this.ShowTooltip(word, values, -1, new AddressTypeInfo() { Address = (int)address, Type = AddressType.Register });
|
||||
AddressTypeInfo addressInfo = new AddressTypeInfo();
|
||||
InteropEmu.DebugGetAbsoluteAddressAndType(address, ref addressInfo);
|
||||
this.ShowTooltip(word, values, -1, addressInfo);
|
||||
}
|
||||
|
||||
private void DisplayLabelTooltip(string word, CodeLabel label)
|
||||
|
|
Loading…
Add table
Reference in a new issue