Skip to content

Commit

Permalink
Test bad formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatos committed Apr 15, 2024
1 parent 2eaa970 commit 87a57e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions FEXCore/Source/Interface/Core/Frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ static uint32_t MapModRMToReg(uint8_t REX, uint8_t bits, bool HighBits, bool Has
return FEXCore::X86State::REG_XMM_0 + Offset;
} else if (HasMM) {
return FEXCore::X86State::REG_MM_0 + Offset;
} else if (!(HighBits && !HasREX)) {
return FEXCore::X86State::REG_RAX + Offset;
}
else if (!(HighBits && !HasREX))
return FEXCore::X86State::REG_RAX + Offset;


return GPR8BitHighIndexes[Offset];
}
Expand All @@ -78,7 +79,7 @@ uint8_t Decoder::ReadByte() {
LOGMAN_THROW_AA_FMT(InstructionSize < MAX_INST_SIZE, "Max instruction size exceeded!");
Instruction[InstructionSize] = Byte;
InstructionSize++;
return Byte;
return Byte;
}

uint8_t Decoder::PeekByte(uint8_t Offset) const {
Expand Down

0 comments on commit 87a57e0

Please sign in to comment.