Skip to content

Commit

Permalink
Merge pull request #1400 from TomHarte/DelegateOrderTest
Browse files Browse the repository at this point in the history
Fix order of `if` tests.
  • Loading branch information
TomHarte authored Sep 9, 2024
2 parents 7eee3f9 + 1c2f66e commit dbe0ebc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Machines/AmstradCPC/AmstradCPC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,11 +969,11 @@ class ConcreteMachine:
ssm_delegate_->perform(code);
ssm_code_ = 0;
}
} else if((ssm_code_ & 0xffff) == 0xedfe) {
ssm_delegate_->perform(0xfffe);
} else if((ssm_code_ & 0xffff) == 0xedff) {
ssm_delegate_->perform(0xffff);
}
} else if((ssm_code_ & 0xffff) == 0xedfe) {
ssm_delegate_->perform(0xfffe);
} else if((ssm_code_ & 0xffff) == 0xedff) {
ssm_delegate_->perform(0xffff);
}
}
[[fallthrough]];
Expand Down

0 comments on commit dbe0ebc

Please sign in to comment.