1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-29 00:56:21 +00:00

Merge pull request #1400 from TomHarte/DelegateOrderTest

Fix order of `if` tests.
This commit is contained in:
Thomas Harte 2024-09-08 21:30:44 -04:00 committed by GitHub
commit dbe0ebc93e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]];