Fix debugger throwing exceptions on opened on a core that does not implement IDisassemblable
This commit is contained in:
parent
30aa86cd7e
commit
cc5ff74689
|
@ -37,7 +37,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public void UpdatePC()
|
||||
{
|
||||
currentDisassemblerAddress = (uint)PCRegister.Value;
|
||||
if (CanDisassemble)
|
||||
{
|
||||
currentDisassemblerAddress = (uint)PCRegister.Value;
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateDisassembler()
|
||||
|
|
|
@ -28,6 +28,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
#region Implementation checking
|
||||
|
||||
// TODO: be cachey with checks that depend on catching exceptions
|
||||
private bool CanUseMemoryCallbacks
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Reference in New Issue