- fixed a bug in the logging system causing incorrect branch-to addresses.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1077 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2009-04-27 21:58:20 +00:00
parent 270c8ee3d2
commit 2a47e807c3
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ microVUt(void) __mVUdumpProgram(int progIndex) {
if (delay == 2) { mVUlog("<font color=\"#FFFF00\">"); } if (delay == 2) { mVUlog("<font color=\"#FFFF00\">"); }
if (delay == 1) { mVUlog("<font color=\"#999999\">"); } if (delay == 1) { mVUlog("<font color=\"#999999\">"); }
iPC = (i+1)/4; iPC = (i+1);
mVUlog("<a name=\"addr%04x\">", i*4); mVUlog("<a name=\"addr%04x\">", i*4);
mVUlog("[%04x] (%08x)</a> ", i*4, mVU->code); mVUlog("[%04x] (%08x)</a> ", i*4, mVU->code);
mVUopU<vuIndex, 2>(); mVUopU<vuIndex, 2>();
@ -100,7 +100,7 @@ microVUt(void) __mVUdumpProgram(int progIndex) {
mVUlog(")"); mVUlog(")");
} }
iPC = i/4; iPC = i;
if (bitX[7]) { mVUlog("<font color=\"#0070ff\">"); } if (bitX[7]) { mVUlog("<font color=\"#0070ff\">"); }
mVU->code = mVU->prog.prog[progIndex].data[i]; mVU->code = mVU->prog.prog[progIndex].data[i];
mVUlog("<br>\n[%04x] (%08x) ", i*4, mVU->code); mVUlog("<br>\n[%04x] (%08x) ", i*4, mVU->code);