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

Function FCEU_GetJoyJoy

src/input.cpp:103–106  ·  view source on GitHub ↗

This function is a quick hack to get the NSF player to use emulated gamepad input.

Source from the content-addressed store, hash-verified

101
102//This function is a quick hack to get the NSF player to use emulated gamepad input.
103uint8 FCEU_GetJoyJoy(void)
104{
105 return(joy[0]|joy[1]|joy[2]|joy[3]);
106}
107
108extern uint8 coinon;
109extern uint8 coinon2;

Callers 2

FCEUSS_LoadFunction · 0.85
DrawNSFFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected