1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-30 07:20:36 +00:00

Reorder from lowest to highest sized variables

This commit is contained in:
twinaphex 2017-09-28 00:50:03 +02:00
parent 4a133144d5
commit 67ff372a38
2 changed files with 18 additions and 19 deletions

@ -88,15 +88,15 @@ typedef struct menu_input
struct
{
bool back;
bool pressed[2];
int16_t x;
int16_t y;
int16_t dx;
int16_t dy;
float accel;
bool pressed[2];
bool back;
unsigned ptr;
unsigned counter;
float accel;
} pointer;
} menu_input_t;

@ -90,17 +90,14 @@ struct rarch_setting_group_info
struct rarch_setting
{
enum setting_type browser_selection_type;
enum msg_hash_enums enum_idx;
enum msg_hash_enums enum_value_idx;
enum setting_type type;
bool dont_use_enum_idx_representation;
bool enforce_minrange;
bool enforce_maxrange;
const char *rounding_fraction;
const char *name;
const char *short_description;
const char *group;
const char *subgroup;
const char *parent_group;
const char *values;
uint8_t index;
uint8_t index_offset;
@ -111,11 +108,19 @@ struct rarch_setting
float step;
uint64_t flags;
uint64_t free_flags;
double min;
double max;
uint64_t flags;
uint64_t free_flags;
const char *rounding_fraction;
const char *name;
const char *short_description;
const char *group;
const char *subgroup;
const char *parent_group;
const char *values;
change_handler_t change_handler;
change_handler_t read_handler;
@ -176,12 +181,6 @@ struct rarch_setting
const char *off_label;
const char *on_label;
} boolean;
enum setting_type browser_selection_type;
enum msg_hash_enums enum_idx;
enum msg_hash_enums enum_value_idx;
enum setting_type type;
};
struct rarch_setting_info