Move MemCheck functionality into the virtual DebugInterface class from the more general MemView class.

Give DSP LLE Debugger a wxAUI facelift and add memory view to dsp debugger.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5080 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2010-02-18 12:06:13 +00:00
parent d5c094df75
commit 63827c71c6
10 changed files with 253 additions and 315 deletions

View file

@ -40,7 +40,7 @@ void DSPDebugInterface::getRawMemoryString(int memory, unsigned int address, cha
sprintf(dest, "%04x", dsp_imem_read(address));
break;
default:
sprintf(dest, "----");
sprintf(dest, "--IMEM--");
break;
}
break;
@ -48,10 +48,13 @@ void DSPDebugInterface::getRawMemoryString(int memory, unsigned int address, cha
switch (address >> 12) {
case 0:
case 1:
sprintf(dest, "%04x", dsp_dmem_read(address));
sprintf(dest, "%04x (DMEM)", dsp_dmem_read(address));
break;
case 0xf:
sprintf(dest, "%04x (MMIO)", g_dsp.ifx_regs[address & 0xFF]);
break;
default:
sprintf(dest, "----");
sprintf(dest, "--DMEM--");
break;
}
break;
@ -115,6 +118,16 @@ void DSPDebugInterface::toggleBreakpoint(unsigned int address)
}
}
bool DSPDebugInterface::isMemCheck(unsigned int address)
{
return false;
}
void DSPDebugInterface::toggleMemCheck(unsigned int address)
{
PanicAlert("MemCheck functionality not supported in DSP module.");
}
void DSPDebugInterface::insertBLR(unsigned int address)
{
PanicAlert("insertBLR functionality not supported in DSP module.");