IDisassemblable changes. can't compile right now, so might not work

This commit is contained in:
goyuken 2014-12-14 17:17:22 +00:00
parent dd77eaf0c9
commit 09f9d50f46
2 changed files with 8 additions and 4 deletions

View File

@ -44,10 +44,9 @@ namespace BizHawk.Emulation.Common
} }
} }
public abstract IEnumerable<string> AvailableCpus public abstract IEnumerable<string> AvailableCpus { get; }
{
get; public abstract string PCRegisterName { get; }
}
public abstract string Disassemble(MemoryDomain m, uint addr, out int length); public abstract string Disassemble(MemoryDomain m, uint addr, out int length);

View File

@ -16,6 +16,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
} }
} }
public override string PCRegisterName
{
get { return "R15"; }
}
public override string Disassemble(MemoryDomain m, uint addr, out int length) public override string Disassemble(MemoryDomain m, uint addr, out int length)
{ {
if (_cpu == "ARM v4 (Thumb)") if (_cpu == "ARM v4 (Thumb)")