X86 : Updates to indenting and uint64_t typecasts
This commit is contained in:
parent
61d9b453f7
commit
69cce01cc6
|
@ -975,7 +975,7 @@ bool EmuX86_Opcode_DEC(LPEXCEPTION_POINTERS e, _DInst& info)
|
|||
return false;
|
||||
|
||||
// DEC Destination to src
|
||||
uint64_t result = dest - 1;
|
||||
uint64_t result = (uint64_t)dest - (uint64_t)1;
|
||||
|
||||
// Write result back
|
||||
EmuX86_Operand_Write(e, info, 0, static_cast<uint32_t>(result));
|
||||
|
@ -1029,7 +1029,7 @@ bool EmuX86_Opcode_INC(LPEXCEPTION_POINTERS e, _DInst& info)
|
|||
return false;
|
||||
|
||||
// INC Destination to src
|
||||
uint64_t result = dest + 1;
|
||||
uint64_t result = (uint64_t)dest + (uint64_t)1;
|
||||
|
||||
// Write result back
|
||||
EmuX86_Operand_Write(e, info, 0, static_cast<uint32_t>(result));
|
||||
|
|
Loading…
Reference in New Issue