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

Function xEnvLoadBsp

src/SB/Core/x/xEnv.cpp:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3xEnv* gCurXEnv;
4
5void xEnvLoadBsp(xEnv* env, const void* data, U32 datasize, S32 dataType)
6{
7 if (dataType == 0)
8 {
9 env->geom = &env->ienv;
10 }
11
12 iEnvLoad(env->geom, data, datasize, dataType);
13 gCurXEnv = env;
14}
15
16void xEnvSetup(xEnv* env)
17{

Callers 1

zEnvInitFunction · 0.85

Calls 1

iEnvLoadFunction · 0.50

Tested by

no test coverage detected