mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
decomp some small files, do some cleanup (#42)
* remove leftover asm: JSUList.s * d_save_init: decomp * JMath/random: decomp * J3DUDL: fixup label * JAUClusterSound: decomp * c_API_controller_pad: decomp, elaborate globals/types * clang-format * don't add guards to functions.h * semantic merge of m_cpadInfo stuff * fix undef symbols Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -1 +1,11 @@
|
||||
// ok
|
||||
#include "SComponent/c_API_controller_pad.h"
|
||||
#include "m_Do/m_Do_controller_pad/m_Do_controller_pad.h"
|
||||
|
||||
void cAPICPad_recalibrate() {
|
||||
mDoCPd_c::recalibrate();
|
||||
}
|
||||
|
||||
u32 cAPICPad_ANY_BUTTON(u32 pPadId) {
|
||||
interface_of_controller_pad* pad = &m_cpadInfo[pPadId];
|
||||
return pad->mPressedButtonFlags & 0x1300; // TODO: flag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user