mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Add more video_frame_info_t members
This commit is contained in:
parent
6a5ce0fce9
commit
23c35c39b5
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user