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

Function movie_isactive

src/lua-engine.cpp:3302–3307  ·  view source on GitHub ↗

movie.active() returns a bool value is there is a movie currently open

Source from the content-addressed store, hash-verified

3300//
3301//returns a bool value is there is a movie currently open
3302int movie_isactive (lua_State *L) {
3303
3304 bool movieactive = (FCEUMOV_IsRecording() || FCEUMOV_IsPlaying());
3305 lua_pushboolean(L, movieactive);
3306 return 1;
3307}
3308
3309// movie.recording()
3310int movie_isrecording (lua_State *L) {

Callers

nothing calls this directly

Calls 3

FCEUMOV_IsRecordingFunction · 0.85
FCEUMOV_IsPlayingFunction · 0.85
lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected