M_do_controller_pad split and partially matched (#36)

* m_Do_controller_pad split

* Attempt to match and match mDoCPd_c::recalibrate

* Fix Merge Errors

* clang-format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
jdflyer
2021-01-02 00:02:19 -07:00
committed by GitHub
parent 69faf591d4
commit e42d44e6cb
70 changed files with 1604 additions and 1043 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ void JUTGamePad::initList() {
s32 JUTGamePad::init() {
PADSetSpec(5);
/*sAnalogMode*/ lbl_804514DC = 3;
/*sAnalogMode*/ sAnalogMode = 3;
PADSetAnalogMode(3);
return PADInit();
@@ -287,7 +287,7 @@ void JUTGamePad::CRumble::stopPatternedRumbleAtThePeriod() {
* matching issue in general; see JKRHeap::dispose or JKRThread::searchThread,
* both of which are currently nonmatching due to the same issue.
*/
JUTGamePad* JUTGamePad::getGamePad(s32 pad_index) {
JUTGamePad* JUTGamePad::getGamePad(int pad_index) {
JSUList<JUTGamePad>* threadList = &lbl_804343E4;
JSUListIterator<JUTGamePad> iterator;
for (iterator = threadList; iterator != threadList->getEnd(); iterator++) {
@@ -300,7 +300,7 @@ JUTGamePad* JUTGamePad::getGamePad(s32 pad_index) {
return NULL;
}
#else
asm JUTGamePad* JUTGamePad::getGamePad(s32 pad_index) {
asm JUTGamePad* JUTGamePad::getGamePad(int pad_index) {
nofralloc
#include "JSystem/JUtility/JUTGamePad/asm/func_802E199C.s"
}