mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 06:40:48 +00:00
setting_list.h - get rid of placeholder padding hack in struct
This commit is contained in:
parent
b3ec942646
commit
75d925cd3f
@ -18230,7 +18230,6 @@ void menu_setting_free(rarch_setting_t *setting)
|
|||||||
(*&list)[pos].flags = 0; \
|
(*&list)[pos].flags = 0; \
|
||||||
(*&list)[pos].free_flags = 0; \
|
(*&list)[pos].free_flags = 0; \
|
||||||
(*&list)[pos].min = 0.0; \
|
(*&list)[pos].min = 0.0; \
|
||||||
(*&list)[pos].placeholder = 0; \
|
|
||||||
(*&list)[pos].max = 0.0; \
|
(*&list)[pos].max = 0.0; \
|
||||||
(*&list)[pos].rounding_fraction = NULL; \
|
(*&list)[pos].rounding_fraction = NULL; \
|
||||||
(*&list)[pos].name = NULL; \
|
(*&list)[pos].name = NULL; \
|
||||||
|
@ -114,12 +114,6 @@ struct rarch_setting_group_info
|
|||||||
struct rarch_setting
|
struct rarch_setting
|
||||||
{
|
{
|
||||||
double min;
|
double min;
|
||||||
/* TODO/FIXME - nasty hack needed for 'suspected' MSVC 2010 x64 Release -
|
|
||||||
* split min/max to work around MSVC 2010 x64 bug that
|
|
||||||
* causes crashes due to stack misalignment in or near
|
|
||||||
* setting_string_setting'
|
|
||||||
*/
|
|
||||||
char placeholder;
|
|
||||||
double max;
|
double max;
|
||||||
|
|
||||||
uint64_t flags;
|
uint64_t flags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user