emu.lagged() Returns true if the game is currently on a lag frame
| 3236 | // |
| 3237 | // Returns true if the game is currently on a lag frame |
| 3238 | int 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 | // |
nothing calls this directly
no test coverage detected