movie.active() returns a bool value is there is a movie currently open
| 3300 | // |
| 3301 | //returns a bool value is there is a movie currently open |
| 3302 | int 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() |
| 3310 | int movie_isrecording (lua_State *L) { |
nothing calls this directly
no test coverage detected