MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xPadInit

Function xPadInit

src/SB/Core/x/xPad.cpp:16–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14_tagxPad mPad[4];
15
16S32 xPadInit()
17{
18 memset(mPad, 0, sizeof(mPad));
19 memset(mRumbleList, 0, sizeof(mRumbleList));
20 S32 code = iPadInit();
21 if (!code)
22 {
23 return 0;
24 }
25 gPlayerPad = mPad;
26 return 1;
27}
28
29// WIP.
30_tagxPad* xPadEnable(S32 idx)

Callers 1

iSystemInitFunction · 0.85

Calls 2

memsetFunction · 0.85
iPadInitFunction · 0.85

Tested by

no test coverage detected