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

Function xParGroupRegister

src/SB/Core/x/xParGroup.cpp:82–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void xParGroupRegister(xParGroup* ps)
83{
84 if (!sParGroupRegTableInit)
85 {
86 xParGroupRegisterInit();
87 }
88
89 for (U8 i = 0; i < REG_TABLE_SIZE; i++)
90 {
91 if (!sParGroupRegTable[i])
92 {
93 sParGroupRegTable[i] = ps;
94 ps->m_regidx = i;
95 break;
96 }
97 }
98}
99
100void xParGroupUnregister(xParGroup* ps)
101{

Callers 1

xParSysInitFunction · 0.70

Calls 1

xParGroupRegisterInitFunction · 0.85

Tested by

no test coverage detected