mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06: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:
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user