mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-21 21:33:54 +00:00
Switch byte order.
This commit is contained in:
parent
dbc0ecde31
commit
00b3007b9f
@ -949,7 +949,7 @@ class ConcreteMachine:
|
||||
if(ssm_delegate_) {
|
||||
if((ssm_code_ & 0xff00ff00) == 0xed00ed00) {
|
||||
const auto code = uint16_t(
|
||||
(ssm_code_ & 0xff) | ((ssm_code_ >> 8) & 0xff00)
|
||||
((ssm_code_ << 8) & 0xff00) | ((ssm_code_ >> 16) & 0x00ff)
|
||||
);
|
||||
ssm_code_ = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user