mirror of
https://github.com/exA-Arcadia/exa-io.git
synced 2024-11-27 23:50:51 +01:00
Fix TILT magic number + typo
This commit is contained in:
parent
a24ea9db04
commit
1af80bae6a
@ -345,7 +345,8 @@ int main() {
|
|||||||
memcpy(&msg_send[o], input_desc_1coin, sizeof(input_desc_1coin));
|
memcpy(&msg_send[o], input_desc_1coin, sizeof(input_desc_1coin));
|
||||||
o += sizeof(input_desc_1coin);
|
o += sizeof(input_desc_1coin);
|
||||||
} else {
|
} else {
|
||||||
memcpy(&msg_send[o], input_desc_2coin, sizeof(input_desc_2coin)); o += sizeof(input_desc_2coin);
|
memcpy(&msg_send[o], input_desc_2coin, sizeof(input_desc_2coin));
|
||||||
|
o += sizeof(input_desc_2coin);
|
||||||
}
|
}
|
||||||
} else if ((msg_length - i) >= 1 && message[i] == 0x15) {
|
} else if ((msg_length - i) >= 1 && message[i] == 0x15) {
|
||||||
i++;
|
i++;
|
||||||
@ -376,7 +377,7 @@ int main() {
|
|||||||
last_process_coin = now;
|
last_process_coin = now;
|
||||||
}
|
}
|
||||||
msg_send[o] = ((switches >> SR_TEST) & 1) << 7
|
msg_send[o] = ((switches >> SR_TEST) & 1) << 7
|
||||||
| ((switches >> SR_TILT) & 1) << 7;
|
| ((switches >> SR_TILT) & 1) << 6;
|
||||||
o++;
|
o++;
|
||||||
//printf("Got switch request for %02x players\n", num_players);
|
//printf("Got switch request for %02x players\n", num_players);
|
||||||
for (int player = 0; player < num_players; player++) {
|
for (int player = 0; player < num_players; player++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user