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

Function ZDSP_instReset

src/SB/Game/zDispatcher.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127static void ZDSP_instInitDep(st_ZDISPATCH_DATA* dspdata, zScene* scene)
128{
129 xSceneID2Name(globals.sceneCur, dspdata->id);
130}
131
132static void ZDSP_instReset(st_ZDISPATCH_DATA* dspdata, zScene* scene)
133{
134 xBaseAsset* ass = dspdata->rawass;
135 xBaseReset(dspdata, ass);
136 memset(&dspdata->rawass, 0, sizeof(xBaseAsset));
137 ZDSP_instInit(dspdata, ass);
138 ZDSP_instInitDep(dspdata, scene);

Callers 1

ZDSP_elcb_eventFunction · 0.85

Calls 4

xBaseResetFunction · 0.85
memsetFunction · 0.85
ZDSP_instInitFunction · 0.85
ZDSP_instInitDepFunction · 0.85

Tested by

no test coverage detected