Commit Graph

315 Commits

Author SHA1 Message Date
twinaphex 67fe4f38d4 Clean up obsolete comment in setting_data_new 2014-10-11 05:08:04 +02:00
twinaphex 77f43c78e5 Rename setting_data_get_list to setting_data_new 2014-10-11 04:59:03 +02:00
twinaphex 6ebcbc7f7c Fix 'transfer of control bypasses initialization of terminator variable' warning 2014-10-10 19:03:37 +02:00
Alcaro adcc92955b (settings_data) Might as well mark the last one. 2014-10-10 00:48:01 +02:00
Alcaro 4c856a2d7f (settings_data) Fix the leaks at 3758 and 3759; better one leak than three. 2014-10-10 00:46:28 +02:00
Alcaro bf4648ac12 Clean out a few leaks. Still leaks at lines 3758, 3759 and 3864, though, and those seem far nastier to fix... 2014-10-10 00:40:21 +02:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
Mike Robinson c8b452e5ac Update audio latency without restart using RARCH_CMD_AUDIO_REINIT 2014-10-09 05:16:00 +01:00
twinaphex 7053b97163 setting_data_get_list - make list pointer being returned no longer static 2014-10-09 00:53:13 +02:00
twinaphex e5ab079298 Maintain two rarch_setting_t * lists in driver.menu - one
for main menu and the other for settings menu - regenerate these
when needed
2014-10-09 00:50:35 +02:00
twinaphex 7babf3c65f (iOS) Hide Quit RetroArch option for iOS 2014-10-08 02:46:46 +02:00
twinaphex da3734e8c7 Add mask parameter to setting_data_get_list 2014-10-08 02:13:07 +02:00
twinaphex fd50638b8f Combine some flags and reduce calls to 'add_flags' function 2014-10-08 01:52:56 +02:00
twinaphex 92fdae904d Cleanup settings_data.c 2014-10-08 01:18:31 +02:00
twinaphex 4063f4adb1 (Menu/Settings) Represent input setting options with 'player' index prefix 2014-10-07 23:50:09 +02:00
twinaphex 9b149721dd (Settings_data) Iterate over all Player Index settings 2014-10-07 23:44:04 +02:00
twinaphex 79350540ec Refine some command in setting_data_append_list_input_options 2014-10-07 23:38:32 +02:00
twinaphex 0e31f60ad1 Dehardcode some code in menu_entries.c 2014-10-07 22:48:57 +02:00
twinaphex 08c6b6e311 Split up settings list code into settings_list.c file 2014-10-07 16:48:24 +02:00
twinaphex 0f41867b78 (settings_data.c) More indenting nits 2014-10-07 16:28:25 +02:00
twinaphex 6ea32d0a10 settings_data.c - indenting nits 2014-10-07 16:05:13 +02:00
twinaphex 19977d3504 (settings_data.c) Indenting nits 2014-10-07 15:37:29 +02:00
twinaphex 9216ca3fd1 (settings data) Rename get_list_ functions to append_list 2014-10-07 02:58:28 +02:00
twinaphex ab630cc2d6 settings_data.c - cleanups 2014-10-07 02:53:41 +02:00
twinaphex 8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
twinaphex 0aa4465aa4 Add helper functions for creating/freeing setting lists 2014-10-07 02:23:42 +02:00
twinaphex 94c4a4a5d4 Split up building of settings list into separate functions -
going to later refactor this settings_data_get_list function
so that you can specify which lists you want to use
2014-10-07 01:53:14 +02:00
twinaphex af1aae5025 Turn name variable from rarch_setting_group_info_t into const char * 2014-10-07 01:17:18 +02:00
twinaphex c2ac98bc18 settings_data.c - indenting nits 2014-10-06 22:15:10 +02:00
twinaphex 8fe70d26de Revert "Reimplement START_GROUP/START_SUB_GROUP macros"
This reverts commit 5e5dcd9c8b.
2014-10-06 22:13:19 +02:00
twinaphex 5e5dcd9c8b Reimplement START_GROUP/START_SUB_GROUP macros 2014-10-06 22:03:53 +02:00
twinaphex 70d8fe634e (settings_data.c) WITH_CMD and WITH_VALUES are now static functions 2014-10-06 21:45:50 +02:00
twinaphex 4241ab17f4 (Settings_data.c) Macro cleanups and de-macrofy two functions 2014-10-06 21:29:39 +02:00
Alcaro 48b8c74968 Fix segfault. 2014-10-06 20:04:02 +02:00
Alcaro 51cfb3f886 Move this assignment outside the two-line conditional. 2014-10-06 20:01:05 +02:00
Alcaro 00c8ba1814 (settings) Fix use-after-free. 2014-10-06 19:59:45 +02:00
twinaphex 8a3a66a2de Refactor APPEND macro into static function 2014-10-06 19:51:55 +02:00
twinaphex 1c439c7f2a (settings_data.c) Simplify APPEND macro 2014-10-06 19:35:37 +02:00
twinaphex 3a16afc226 (Settings data) Refine macros 2014-10-06 19:29:45 +02:00
twinaphex 085bf9e639 Pass group_info to START_GROUP macro 2014-10-06 19:14:05 +02:00
twinaphex ed5f81f0c9 Start using rarch_setting_group_info_t structs for passing around group/subgroup names 2014-10-06 17:50:21 +02:00
twinaphex 04fe800261 Add rarch_setting_group_info_t 2014-10-06 16:57:20 +02:00
Twinaphex 2f47d2378c Revert "Turn APPEND macro into static function"
This reverts commit eef2ef4fc7.
2014-10-06 16:34:50 +02:00
twinaphex eef2ef4fc7 Turn APPEND macro into static function 2014-10-06 16:26:37 +02:00
twinaphex 33830cf76a (Settings data) Pass list and list_info to macros 2014-10-06 16:06:24 +02:00
twinaphex 2bdf2a6a12 (Settings data) Pass list and list_info around to macros 2014-10-06 15:56:51 +02:00
twinaphex d115bfdd8f Settings data - better way of passing list_size and index around -
have a struct for it - rarch_settings_info_t
2014-10-06 15:51:22 +02:00
twinaphex 067df38262 (Settings_data.c) Get rid of list_tmp/list_temp 2014-10-06 15:35:18 +02:00
twinaphex cd2acaaec6 (settings_data.c) Simplify APPEND macro 2014-10-06 15:32:05 +02:00
twinaphex 1ac12083d8 Get rid of RARCH_CMD_OVERLAY_REINIT 2014-10-05 20:25:54 +02:00