Fix comment again... Are these comments really needed? Or/Xor/Operands are self-explanatory
This commit is contained in:
parent
9bac79c44d
commit
1413f2960e
|
@ -124,7 +124,8 @@ XBSYSAPI EXPORTNUM(8) xboxkrnl::ULONG _cdecl xboxkrnl::DbgPrint
|
|||
vsprintf(szBuffer, Format, argp);
|
||||
va_end(argp);
|
||||
|
||||
printf(szBuffer); // Note : missing newlines can occur
|
||||
// Allow DbgPrint to be disabled
|
||||
EmuLog(LOG_PREFIX, LOG_LEVEL::INFO, "%s", szBuffer);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
|
|
|
@ -1071,14 +1071,14 @@ bool EmuX86_Opcode_XOR(LPEXCEPTION_POINTERS e, _DInst& info)
|
|||
if (!EmuX86_Operand_Read(e, info, 1, &src))
|
||||
return false;
|
||||
|
||||
// OR reads and writes the same operand :
|
||||
// XOR reads and writes the same operand :
|
||||
OperandAddress opAddr;
|
||||
if (!EmuX86_Operand_Addr_ForReadWrite(e, info, 0, OUT opAddr))
|
||||
return false;
|
||||
|
||||
uint32_t dest = EmuX86_Addr_Read(opAddr);
|
||||
|
||||
// OR Destination with src
|
||||
// XOR Destination with src
|
||||
uint32_t result = dest ^ src;
|
||||
|
||||
// Write back the result
|
||||
|
|
Loading…
Reference in New Issue