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

Function emu_lagged

src/lua-engine.cpp:3238–3243  ·  view source on GitHub ↗

emu.lagged() Returns true if the game is currently on a lag frame

Source from the content-addressed store, hash-verified

3236//
3237// Returns true if the game is currently on a lag frame
3238int emu_lagged (lua_State *L) {
3239
3240 bool Lag_Frame = FCEUI_GetLagged();
3241 lua_pushboolean(L, Lag_Frame);
3242 return 1;
3243}
3244
3245// emu.setlagflag(bool value)
3246//

Callers

nothing calls this directly

Calls 2

FCEUI_GetLaggedFunction · 0.85
lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected