mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Cleaning up XK's mess, added a simple profiler, minor disasm fix. Too lazy to split it up into individual changes. Savestates not yet working.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@381 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
12
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
12
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
@ -863,7 +863,7 @@ namespace PPCDisasm
|
||||
|
||||
static void fdabc(struct DisasmPara_PPC *dp,ppc_word in, const char *name,
|
||||
int mask,unsigned char dmode)
|
||||
/* standard floating point instruction: xxxx fD,fA,fB,fC */
|
||||
/* standard floating point instruction: xxxx fD,fA,fC,fB */
|
||||
{
|
||||
static const char *fmt = "f%d,";
|
||||
char *s = dp->operands;
|
||||
@ -877,13 +877,13 @@ namespace PPCDisasm
|
||||
else
|
||||
err |= (int)PPCGETA(in);
|
||||
if (mask & 2)
|
||||
s += sprintf(s,fmt,(int)PPCGETB(in));
|
||||
else if (PPCGETB(in))
|
||||
err |= (int)PPCGETB(in);
|
||||
if (mask & 1)
|
||||
s += sprintf(s,fmt,(int)PPCGETC(in));
|
||||
else if (!(mask&8))
|
||||
else if (PPCGETC(in))
|
||||
err |= (int)PPCGETC(in);
|
||||
if (mask & 1)
|
||||
s += sprintf(s,fmt,(int)PPCGETB(in));
|
||||
else if (!(mask&8))
|
||||
err |= (int)PPCGETB(in);
|
||||
*(s-1) = '\0';
|
||||
if (err)
|
||||
ill(dp,in);
|
||||
|
Reference in New Issue
Block a user