menu: Ignore input from non-standard controllers (resolve #29)

This commit is contained in:
Maximilian Rehkopf 2012-09-30 00:24:13 +02:00
parent 9287d637d1
commit e33fbdf77f

View File

@ -4,7 +4,15 @@ read_pad:
read_pad1
ldx pad1mem ;byetUDLRaxlriiii
lda $4218
ora $421a
and #$000f
bne +
lda $4218
+ sta pad1mem
lda $421a
and #$000f
bne +
lda $421a
+ ora pad1mem
sta pad1mem
and #$0f00
bne read_pad1_count