mirror of
https://github.com/tdaede/td-io.git
synced 2024-11-23 22:50:58 +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));
|
||||
o += sizeof(input_desc_1coin);
|
||||
} 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) {
|
||||
i++;
|
||||
@ -376,7 +377,7 @@ int main() {
|
||||
last_process_coin = now;
|
||||
}
|
||||
msg_send[o] = ((switches >> SR_TEST) & 1) << 7
|
||||
| ((switches >> SR_TILT) & 1) << 7;
|
||||
| ((switches >> SR_TILT) & 1) << 6;
|
||||
o++;
|
||||
//printf("Got switch request for %02x players\n", num_players);
|
||||
for (int player = 0; player < num_players; player++) {
|
||||
|
Loading…
Reference in New Issue
Block a user