MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEU_InitZapper

Function FCEU_InitZapper

src/input/zapper.cpp:219–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217static INPUTC ZAPVSC={ReadZapperVS,0,StrobeZapperVS,UpdateZapper,ZapperFrapper,DrawZapper,LogZapper,LoadZapper};
218
219INPUTC *FCEU_InitZapper(int w)
220{
221 memset(&ZD[w],0,sizeof(ZAPPER));
222 if ( (GameInfo != NULL) && (GameInfo->type == GIT_VSUNI) )
223 return(&ZAPVSC);
224 else
225 return(&ZAPC);
226}
227
228

Callers 1

SetInputStuffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected