1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 18:16:35 +00:00

CHange semantics of reset_joy to make more sense

This commit is contained in:
Karol Stasiak
2019-09-21 00:57:16 +02:00
parent 8ebeb2eeeb
commit bf6f0609a1
4 changed files with 13 additions and 5 deletions
+5 -1
View File
@@ -19,12 +19,16 @@ macro void read_joy2() {
}
void nes_reset_joy() {
input_dx = 0
input_dy = 0
input_a = 0
input_b = 0
input_select = 0
input_start = 0
reset_joy()
}
alias reset_joy = nes_reset_joy!
inline void read_also_joy1() {
strobe_joypad()
__parse_nes_joypad1()