Make copy hex function in the debugger do so correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1275 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ac970f100e
commit
464185a04e
|
@ -19,6 +19,7 @@ public:
|
||||||
virtual void clearAllBreakpoints() {}
|
virtual void clearAllBreakpoints() {}
|
||||||
virtual void toggleBreakpoint(unsigned int /*address*/){}
|
virtual void toggleBreakpoint(unsigned int /*address*/){}
|
||||||
virtual unsigned int readMemory(unsigned int /*address*/){return 0;}
|
virtual unsigned int readMemory(unsigned int /*address*/){return 0;}
|
||||||
|
virtual unsigned int readInstruction(unsigned int /*address*/){return 0;}
|
||||||
virtual unsigned int getPC() {return 0;}
|
virtual unsigned int getPC() {return 0;}
|
||||||
virtual void setPC(unsigned int /*address*/) {}
|
virtual void setPC(unsigned int /*address*/) {}
|
||||||
virtual void step() {}
|
virtual void step() {}
|
||||||
|
|
|
@ -66,6 +66,11 @@ unsigned int PPCDebugInterface::readMemory(unsigned int address)
|
||||||
return Memory::ReadUnchecked_U32(address);
|
return Memory::ReadUnchecked_U32(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned int PPCDebugInterface::readInstruction(unsigned int address)
|
||||||
|
{
|
||||||
|
return Memory::Read_Instruction(address);
|
||||||
|
}
|
||||||
|
|
||||||
bool PPCDebugInterface::isAlive()
|
bool PPCDebugInterface::isAlive()
|
||||||
{
|
{
|
||||||
return Core::GetState() != Core::CORE_UNINITIALIZED;
|
return Core::GetState() != Core::CORE_UNINITIALIZED;
|
||||||
|
|
|
@ -21,6 +21,7 @@ public:
|
||||||
virtual void clearAllBreakpoints();
|
virtual void clearAllBreakpoints();
|
||||||
virtual void toggleBreakpoint(unsigned int address);
|
virtual void toggleBreakpoint(unsigned int address);
|
||||||
virtual unsigned int readMemory(unsigned int address);
|
virtual unsigned int readMemory(unsigned int address);
|
||||||
|
virtual unsigned int readInstruction(unsigned int address);
|
||||||
virtual unsigned int getPC();
|
virtual unsigned int getPC();
|
||||||
virtual void setPC(unsigned int address);
|
virtual void setPC(unsigned int address);
|
||||||
virtual void step() {}
|
virtual void step() {}
|
||||||
|
|
Loading…
Reference in New Issue