Skip to content

Commit

Permalink
Incorrect bitwise comparisson (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Nov 10, 2024
1 parent 365db37 commit 2b3a288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void Processor::ExecuteOPCode()
case 0xFD:
{
int more_prefixes = false;
while ((opcode == 0xDD) | (opcode == 0xFD))
while ((opcode == 0xDD) || (opcode == 0xFD))
{
m_CurrentPrefix = opcode;
opcode = FetchOPCode();
Expand Down

0 comments on commit 2b3a288

Please sign in to comment.