mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-27 12:30:30 +00:00
auto-keyboard enable if no joystick
This commit is contained in:
parent
503cd0dfbf
commit
83eb7bcd8a
@ -1,5 +1,5 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by 4am
|
||||
;(c) 2019-2020 by 4am
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/NIGHT.MISSION",plain
|
||||
@ -11,7 +11,13 @@
|
||||
lda #$60
|
||||
sta $8C36
|
||||
jsr $44E5 ; decompress
|
||||
+DISABLE_ACCEL
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MachineStatus
|
||||
and #HAS_JOYSTICK
|
||||
bne +
|
||||
inc $AFA ; force keyboard
|
||||
+ jsr DisableAccelerator
|
||||
+READ_ROM_NO_WRITE
|
||||
jmp $0800
|
||||
|
||||
!if * > $1C0 {
|
||||
|
Loading…
Reference in New Issue
Block a user