mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
commit
8242181657
@ -117,14 +117,6 @@ static const video_poke_interface_t *video_driver_poke = NULL;
|
||||
* being passed to video driver. */
|
||||
static video_pixel_scaler_t *video_driver_scaler_ptr = NULL;
|
||||
|
||||
char rotation_lut[4][32] =
|
||||
{
|
||||
"Normal",
|
||||
"90 deg",
|
||||
"180 deg",
|
||||
"270 deg"
|
||||
};
|
||||
|
||||
struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END] = {
|
||||
{ "4:3", 1.3333f },
|
||||
{ "16:9", 1.7778f },
|
||||
|
@ -205,9 +205,6 @@ typedef struct video_driver
|
||||
unsigned (*wrap_type_to_enum)(enum gfx_wrap_type type);
|
||||
} video_driver_t;
|
||||
|
||||
|
||||
extern char rotation_lut[4][32];
|
||||
|
||||
struct aspect_ratio_elem
|
||||
{
|
||||
char name[64];
|
||||
|
@ -346,9 +346,19 @@ static void setting_get_string_representation_uint_video_rotation(void *data,
|
||||
{
|
||||
rarch_setting_t *setting = (rarch_setting_t*)data;
|
||||
if (setting)
|
||||
{
|
||||
char rotation_lut[4][32] =
|
||||
{
|
||||
"Normal",
|
||||
"90 deg",
|
||||
"180 deg",
|
||||
"270 deg"
|
||||
};
|
||||
|
||||
strlcpy(s, rotation_lut[*setting->value.target.unsigned_integer],
|
||||
len);
|
||||
}
|
||||
}
|
||||
|
||||
static void setting_get_string_representation_uint_aspect_ratio_index(void *data,
|
||||
char *s, size_t len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user