mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Very simple call tree browser added to code window, bottom left.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@298 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1b1f0ecae9
commit
b9f5fd1f44
6 changed files with 140 additions and 39 deletions
8
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
8
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
|
@ -491,9 +491,9 @@ namespace PPCDisasm
|
|||
*oper++ = ',';
|
||||
}
|
||||
if (in & 2) /* AA ? */
|
||||
sprintf(dp->operands,"0x%.8X",(unsigned long)d);
|
||||
sprintf(dp->operands,"->0x%.8X",(unsigned long)d);
|
||||
else
|
||||
sprintf(oper,"0x%.8X",(unsigned long)(*dp->iaddr) + d);
|
||||
sprintf(oper,"->0x%.8X",(unsigned long)(*dp->iaddr) + d);
|
||||
dp->type = PPCINSTR_BRANCH;
|
||||
dp->displacement = (ppc_word)d;
|
||||
}
|
||||
|
@ -507,9 +507,9 @@ namespace PPCDisasm
|
|||
|
||||
sprintf(dp->opcode,"b%s",b_ext[in&3]);
|
||||
if (in & 2) /* AA ? */
|
||||
sprintf(dp->operands,"0x%.8X",(unsigned long)d);
|
||||
sprintf(dp->operands,"->0x%.8X",(unsigned long)d);
|
||||
else
|
||||
sprintf(dp->operands,"0x%.8X",(unsigned long)(*dp->iaddr) + d);
|
||||
sprintf(dp->operands,"->0x%.8X",(unsigned long)(*dp->iaddr) + d);
|
||||
dp->type = PPCINSTR_BRANCH;
|
||||
dp->displacement = (ppc_word)d;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue