Debugger - move a function

This commit is contained in:
adelikat 2014-12-18 02:42:53 +00:00
parent 6d895fc3e1
commit f6d5f64ef2
1 changed files with 26 additions and 0 deletions

View File

@ -25,6 +25,32 @@ namespace BizHawk.Client.EmuHawk
get { return Core.GetCpuFlagsAndRegisters()[Disassembler.PCRegisterName]; }
}
#region Implementation checking
private bool CanDisassemble
{
get
{
if (Disassembler == null)
{
return false;
}
try
{
var pc = PC;
return true;
}
catch (NotImplementedException)
{
return false;
}
}
}
#endregion
public void UpdateValues()
{
RegisterPanel.UpdateValues();