From ca4ce9f13640d5d3f4b8806565589969adb5a6c9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 5 Mar 2020 17:39:43 +0100 Subject: [PATCH] Add this nasty workaround for a suspected MSVC2010 bug --- setting_list.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setting_list.h b/setting_list.h index 321d850a62..a14c8112cc 100644 --- a/setting_list.h +++ b/setting_list.h @@ -136,6 +136,12 @@ struct rarch_setting uint64_t free_flags; 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; const char *rounding_fraction;