Tiny optimization and bugfix

This commit is contained in:
Henrik Rydgard 2013-03-07 00:45:34 +01:00
parent 963a6603fc
commit 6702f0c78c
2 changed files with 2 additions and 3 deletions

View File

@ -865,7 +865,7 @@ u32 sceIoDevctl(const char *name, int cmd, u32 argAddr, int argLen, u32 outPtr,
} else {
if (PSP_CoreParameter().collectEmuLog) {
*PSP_CoreParameter().collectEmuLog += data;
} else if (PSP_CoreParameter().collectEmuLog) {
} else {
DEBUG_LOG(HLE, "%s", data.c_str());
}
}

View File

@ -171,8 +171,7 @@ namespace MIPSComp
break;
case 23: //clo
gpr.MapDirtyIn(rd, rs);
MOVI2R(R0, 0xFFFFFFFF);
EOR(R0, R0, gpr.R(rs));
MVN(R0, gpr.R(rs));
CLZ(gpr.R(rd), R0);
break;
default: