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

Function ReadZapper

src/input/zapper.cpp:153–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static uint8 ReadZapper(int w)
154{
155 uint8 ret=0;
156 if(ZD[w].bogo)
157 ret|=0x10;
158 if(CheckColor(w))
159 ret|=0x8;
160 return ret;
161}
162
163static void DrawZapper(int w, uint8 *buf, int arg)
164{

Callers

nothing calls this directly

Calls 1

CheckColorFunction · 0.70

Tested by

no test coverage detected