Add more video_frame_info_t members

This commit is contained in:
twinaphex 2017-01-22 02:04:58 +01:00
parent 6a5ce0fce9
commit 23c35c39b5
2 changed files with 6 additions and 0 deletions

View File

@ -2311,6 +2311,9 @@ void video_driver_build_info(video_frame_info_t *video_info)
video_info->xmb_alpha_factor = 0.0f;
video_info->menu_wallpaper_opacity = 0.0f;
#endif
video_info->runloop_is_paused = runloop_ctl(RUNLOOP_CTL_IS_PAUSED, NULL);
video_info->runloop_is_idle = runloop_ctl(RUNLOOP_CTL_IS_IDLE, NULL);
video_info->runloop_is_slowmotion = runloop_ctl(RUNLOOP_CTL_IS_SLOWMOTION, NULL);
video_driver_threaded_unlock();
}

View File

@ -128,6 +128,9 @@ typedef struct video_frame_info
bool battery_level_enable;
bool timedate_enable;
bool runloop_is_slowmotion;
bool runloop_is_idle;
bool runloop_is_paused;
} video_frame_info_t;
/* Optionally implemented interface to poke more