Commit Graph

423 Commits

Author SHA1 Message Date
Twinaphex 860c9c5750 (settings_data.c) Silence some warnings 2014-10-14 22:38:05 +02:00
twinaphex 5506674c69 settings_list.c - Add action OK callback 2014-10-14 22:02:42 +02:00
Twinaphex 60ccfbd749 settings_data.c - Make all of the 'append list' leaf functions static functions 2014-10-14 18:52:31 +02:00
twinaphex 056bc62d23 Get rid of setting 'Libretro Path' 2014-10-14 06:58:48 +02:00
twinaphex 907baa7c11 Fix RGUI issue with 'w' getting set to 0 for settings labels 2014-10-13 04:12:30 +02:00
Toad King 0af2abed74 fix resolution changes not appearing until applied in GX 2014-10-12 21:10:17 -05:00
twinaphex d4022cce34 Should show disk index label now 2014-10-13 03:49:34 +02:00
twinaphex 481c5ce9d4 Start hooking up Disk Options -> Disk Index again 2014-10-13 03:26:44 +02:00
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
twinaphex 5b053a96df autosave_interval setting now uses RARCH_CMD_AUTOSAVE_INIT -
it deinits beforehand
2014-10-05 15:33:16 +02:00
SuperrSonic 0950b07429 Added GX Deflicker filter 2014-10-04 00:59:36 -04:00
SuperrSonic 962d3161a6 Made viWidth editable with the definite limits. 2014-10-04 00:43:43 -04:00
twinaphex aa961dba9e Add 'Limit Maximum Run Speed' setting - set this to 'off' to
get the fastforward_ratio = -1 (no limit) setting again
2014-10-03 18:05:46 +02:00
twinaphex 4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex 4f0953f3e3 Add RARCH_CMD_REWIND_DEINIT/RARCH_CMD_REWIND_INIT/RARCH_CMD_REWIND_TOGGLE 2014-10-03 11:44:54 +02:00
Mike Robinson b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex e07ae03047 (GX) Build fix 2014-10-02 11:34:06 +02:00
twinaphex ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex 8584ef94f4 Implement RARCH_CMD_MENU_PAUSE_LIBRETRO 2014-09-29 15:55:41 +02:00
twinaphex ae6c8fa7fb (Settings data) Create new category 'Menu Options' 2014-09-29 14:19:40 +02:00
twinaphex 3c8cc513ab Make it possible to compile without menu support again 2014-09-28 18:01:59 +02:00
twinaphex 94de11b060 Add resampler directory setting 2014-09-27 15:55:55 +02:00
twinaphex ddf5786ad7 Take out unused ANALOG_DPAD_DUALANALOG 2014-09-26 13:32:03 +02:00
twinaphex 9d94513dc4 (Menu/Shaders) Move all shader manager code to frontend/menu/menu_shader 2014-09-24 07:56:47 +02:00
twinaphex 76be2aecf8 Add SD_FLAG_CMD_APPLY_AUTO to setting 'Force-disable sRGB FBO' 2014-09-21 05:26:49 +02:00
twinaphex 395e2ed756 Add "Force-disable sRGB FBO" option for buggy Intel OpenGL drivers
on Windows - should hopefully fix messed up colors with it enabled (untested)
2014-09-21 05:23:51 +02:00
twinaphex 71f6abb71f (Menu/Settings) Only show Core Disk Options if core supports it 2014-09-15 07:31:33 +02:00
twinaphex 89676e8424 Add Playlist Directory path setting 2014-09-15 04:12:41 +02:00
twinaphex ab0492f4cd Rewrite two settings relying on cmds 2014-09-15 02:08:29 +02:00
twinaphex 1682d83831 (Menu/Settings) Add SD_FLAG_CMD_APPLY_AUTO 2014-09-15 00:21:24 +02:00
twinaphex 899e69f921 (Settings/menu) Add WITH_CMD to settings_data.c 2014-09-14 23:44:32 +02:00
twinaphex 3d689bd40f (Menu) Add SD_FLAG_EXIT to signal to the menu that we want to cleanly
exit out of the menu
2014-09-14 22:39:33 +02:00
Lioncash 3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
twinaphex 01c9d033ae (GX) Build fixes 2014-09-12 22:12:41 +02:00
Lioncash fef46e3128 settings_data: Handle potential null dereferences 2014-09-11 22:12:23 -04:00
Lioncash a7455bc911 settings_data: Fix some mismatched printf specifiers 2014-09-11 20:32:48 -04:00
Twinaphex fd001f6b52 Merge pull request #975 from lioncash/realloc
settings_data: Guard against possible realloc/malloc failures
2014-09-12 02:25:14 +02:00
Lioncash 8cf195868e settings_data: Guard against possible realloc/malloc failures 2014-09-11 20:21:11 -04:00
twinaphex b4eab4760e (settings data) Take out unnecessary g_extern.verbose line 2014-09-11 07:32:52 +02:00
twinaphex f1ccf07603 (Menu) Add type MENU_FILE_DRIVER 2014-09-11 06:28:52 +02:00
twinaphex b26a9c68d1 (Menu) Implement video_message_pos_x/video_message_pos_y options 2014-09-11 05:55:59 +02:00
twinaphex a5177941af (Menu) Fix font_size option 2014-09-11 05:29:42 +02:00
twinaphex 259c3f0de3 Revert "(Settings data) refactor setting_data_*_setting functions"
This reverts commit 4438f73732.
2014-09-11 03:42:07 +02:00
twinaphex 4438f73732 (Settings data) refactor setting_data_*_setting functions 2014-09-10 22:05:11 +02:00
Jean-André Santoni 684af29c06 (Lakka) Use setting_data_get_string_representation 2014-09-10 14:38:41 +02:00
twinaphex 72096df0ee Use setting_data_get_string_representation 2014-09-10 03:06:38 +02:00
twinaphex bcb9852001 (Settings data) Subgroup - group name should now be filled in 2014-09-09 19:45:15 +02:00
twinaphex cb82728c4c (settings_data.c) Cleanups/style nits 2014-09-09 17:20:15 +02:00
twinaphex 7904eb2f3b (Android) Prevent unused variable warning 2014-09-09 17:11:08 +02:00
twinaphex b423408005 Ifdef stdin/network options with defines 2014-09-09 05:11:06 +02:00
twinaphex 590a1c2434 - Refactor menu_entries_push_list
- Add SD_FLAG_PUSH_ACTIOn
2014-09-09 03:32:06 +02:00
twinaphex 4790ffda7d - Refactor menu_entries.c code
- Create SD_FLAG_ALLOW_INPUT
2014-09-09 02:49:11 +02:00
twinaphex 3e2ab80aa2 (Menu) Start refactoring menu_entries code 2014-09-09 01:20:17 +02:00
twinaphex c329501e2f (Menu) Refactor hardcoded input settings 2014-09-08 22:30:09 +02:00
twinaphex 1c1194cdca (Menu) Refactor two input settings 2014-09-08 22:12:22 +02:00
twinaphex 3709e524bc (Menu) Move settings data descriptions to settings_data.c 2014-09-08 06:12:43 +02:00
twinaphex b55e8d1eb1 (Menu) Refactor input bind label code 2014-09-08 05:31:43 +02:00
twinaphex b3fe4e8e8f (settings_data.c) Add some info descriptions 2014-09-08 03:48:01 +02:00
twinaphex c2ec82b996 (Input) Add two input options - input_duty_cycle/input_turbo_period 2014-09-08 03:34:36 +02:00
twinaphex 88b77df234 (Menu) Create setting_data_get_label and move code from menu_common_backend.c
to settings_data.c
2014-09-07 06:00:41 +02:00
twinaphex ff01041e7c (settings_data.c) Get rid of warning 2014-09-07 05:52:40 +02:00
twinaphex a3443a7911 (Menu) Refactor ST_PATH settings 2014-09-06 02:47:31 +02:00
twinaphex 3dcb74ddbb (Menu) Combine get_description functions 2014-09-05 04:21:46 +02:00
Lioncash f21c4c485e Kill off some null comparisons with stack-allocated arrays 2014-09-03 21:55:30 -04:00
twinaphex 7c4e08eed3 (Menu) setting_data_get_mainmenu - cleanup 2014-09-03 20:34:25 +02:00
twinaphex 1daa317971 (settings_data.c) Clean up more unnecessary code 2014-09-03 20:32:03 +02:00
twinaphex a7d2bd33e7 (settings_data.c) MSVC build fixes 2014-09-03 20:24:06 +02:00
twinaphex 81a5213768 (settings_data.c) Get rid of unnecessary code 2014-09-03 20:20:50 +02:00
twinaphex c92269dedf Move core_info/core_info_current to global 2014-09-03 14:57:29 +02:00
twinaphex 9ab14a89c3 (Menu) Refactor menu_entries_push 2014-09-01 06:01:01 +02:00
twinaphex 2baac0bb71 (Menu) Refactor function into menu_entries_push call 2014-09-01 05:56:58 +02:00
twinaphex 1a256399f1 (Menu) Fix savestate/loadstate settings in quickmenu 2014-09-01 03:38:34 +02:00
twinaphex de0ba69948 (Menu) Move menu_push_info_screen to menu_entries.c 2014-09-01 02:17:59 +02:00
twinaphex 80f67baf1f (Menu) refactor system_bgm_enable setting 2014-08-31 04:03:04 +02:00
twinaphex 262ec8881a (PS3) Refactor PAL60 setting 2014-08-31 03:50:44 +02:00
twinaphex 27a60f1d5d Refactor Soft Filter menu option for Wii/Xbox 1 2014-08-31 03:38:21 +02:00
twinaphex 8133088add (Settings data) Set some g_extern variables for netplay settings 2014-08-30 03:28:57 +02:00
Alcaro 21bdf835d9 Apply the same fix to another part of the code. 2014-08-29 10:21:23 -03:00
Alcaro c89a538431 Fix dangling pointer. Likely cause for crashes; could be that mingw64 crash. 2014-08-29 10:21:17 -03:00
Mike Robinson 46f3d9c8cc Make frame delay description clearer 2014-08-28 20:14:17 +01:00
Mike Robinson a11a789e02 Fix newlines and spaces 2014-08-28 20:07:21 +01:00
Mike Robinson ac421ec19b Implement frame delay option
Sets how many milliseconds to delay after VSync before running the core.
2014-08-28 19:54:42 +01:00
twinaphex 536cf71733 (Menu) Move some info descriptions to settings_data.c 2014-08-28 02:17:41 +02:00
twinaphex 9bef38186a (Menu) Refactor most of the main menu settings 2014-08-28 00:08:32 +02:00
twinaphex d9a10e9ab2 (Menu) Start refactoring main menu actions 2014-08-27 23:44:23 +02:00
Twinaphex d963807681 (Menu/Settings data) Clean up unused var 2014-08-27 23:16:10 +02:00
twinaphex e9ab80dec1 (Menu) Refactor menu_common_entries_init 2014-08-27 23:12:55 +02:00
twinaphex a1a9c8f3aa Refactor ST_BOOL settings 2014-08-27 21:14:36 +02:00
twinaphex 5042d58cc9 Cleanup setting_data_get_list 2014-08-27 20:42:22 +02:00
twinaphex 4d6835bfad (Menu) Refactor driver settings 2014-08-27 18:01:44 +02:00
twinaphex 5e2eead66a (Menu) Refactor menu_common_setting_set_current_path_selection 2014-08-27 17:36:45 +02:00
twinaphex 36e2b869a2 Add extension filtering to some settings 2014-08-27 15:58:07 +02:00
twinaphex 575d11b358 (Menu) Get rid of HAVE_SHADER_MANAGER ifdefs 2014-08-27 14:50:49 +02:00
twinaphex cd78e7797f (settings_data.c) Cleanups 2014-08-27 01:30:18 +02:00
twinaphex da5ca89d69 (Menu) Move some descriptions to settings_data.c 2014-08-26 19:43:45 +02:00
twinaphex b5e94e4938 (Menu) Implement ST_GROUP label representation 2014-08-25 16:05:59 +02:00
twinaphex 3903774e8a (Settings) setting_data_find_setting cleanups 2014-08-25 15:53:17 +02:00
twinaphex 61586d8534 (Menu) Refactor ip_address and audio_device settings 2014-08-25 15:04:35 +02:00
twinaphex adc77bcd1d (Menu) Refactor ST_DIR settings 2014-08-24 20:19:59 +02:00
twinaphex 0f15cf014e (Menu) Change rounding_fraction to const char* 2014-08-24 19:45:34 +02:00
twinaphex ba813eb950 (Menu) Change rounding fraction to snprintf format 2014-08-24 19:37:57 +02:00