This commit is contained in:
libretroadmin 2023-01-08 20:00:51 +01:00
parent 71019e1121
commit 5d065e7efc
2 changed files with 8 additions and 7 deletions

View File

@ -60,12 +60,6 @@
#define TIME_TO_FPS(last_time, new_time, frames) ((1000000.0f * (frames)) / ((new_time) - (last_time)))
struct aspect_ratio_elem
{
float value;
char name[64];
};
typedef struct
{
struct string_list *list;

View File

@ -880,7 +880,8 @@ typedef struct
bool threaded;
} video_driver_state_t;
typedef struct video_frame_delay_auto {
typedef struct video_frame_delay_auto
{
float refresh_rate;
uint16_t frame_time_target;
uint16_t frame_time_average;
@ -888,6 +889,12 @@ typedef struct video_frame_delay_auto {
uint8_t delay_decrease;
} video_frame_delay_auto_t;
struct aspect_ratio_elem
{
float value;
char name[64];
};
extern struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END];
bool video_driver_has_windowed(void);