mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-16 16:12:40 +00:00
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:
parent
d5c094df75
commit
63827c71c6
10 changed files with 253 additions and 315 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue