Support 4 controllers (#1751)

* Detects all controllers properly on boot now

* warn -> info

* linting

* add comments to deftype changes
This commit is contained in:
Matt Dallmeyer
2022-08-14 14:21:38 -07:00
committed by GitHub
parent 2acc5250f8
commit bbfdd45de0
4 changed files with 33 additions and 32 deletions
+3 -3
View File
@@ -4223,13 +4223,13 @@
(deftype cpad-list (basic)
((num-cpads int32 :offset-assert 4)
(cpads cpad-info 2 :offset-assert 8) ;; guess
(cpads cpad-info 4 :offset-assert 8) ;; guess, modified from 2->4 for PC 4-pad support
)
(:methods
(new (symbol type) _type_ 0))
:method-count-assert 9
:size-assert #x10
:flag-assert #x900000010
:size-assert #x18
:flag-assert #x900000018
)
;; - Functions