Commit Graph

627 Commits

Author SHA1 Message Date
twinaphex 90ad365432 Refactor path settings loading 2016-09-01 04:37:22 +02:00
twinaphex 47b0a7ca17 Cleanups 2016-09-01 04:11:53 +02:00
twinaphex 96119ea127 Cleanups 2016-09-01 03:51:54 +02:00
twinaphex e0d64373cc Refactor SETTING_PATH 2016-09-01 03:41:10 +02:00
twinaphex d203fd9d0d Cleanups 2016-09-01 03:05:31 +02:00
twinaphex 204c7544b0 Get rid of unused variable 2016-09-01 03:01:04 +02:00
twinaphex dfcef0f252 Move setting paths over 2016-09-01 03:00:27 +02:00
twinaphex 68823085c9 Move netplay_nickname down 2016-09-01 02:54:05 +02:00
twinaphex 03c28689e5 (configuration.c) Cleanups - rearrange array / path settings 2016-09-01 02:53:04 +02:00
twinaphex 081e47798e Cleanups for array settings 2016-09-01 02:46:09 +02:00
twinaphex 5c81cfb380 Add string setting loading 2016-09-01 02:40:05 +02:00
twinaphex 672a7e1a40 Get rid of unused 'Debug Information' 2016-08-30 04:58:45 +02:00
twinaphex c14fe766a5 Indent nits 2016-08-30 04:42:02 +02:00
twinaphex efb3f3ec06 open_default_config_file - don't initialize global until the end 2016-08-30 04:40:13 +02:00
twinaphex 49742da0b4 Cleanup 2016-08-30 04:37:49 +02:00
twinaphex dee5ec9e15 Cleanups 2016-08-30 04:20:28 +02:00
twinaphex 9f65d0d4fb Style nits 2016-08-30 04:15:11 +02:00
twinaphex eec0120293 Cleanups 2016-08-30 04:05:27 +02:00
twinaphex 95e5086a8a Cleanups 2016-08-30 04:00:16 +02:00
twinaphex 0467987a1a Add more default settings 2016-08-30 03:30:38 +02:00
twinaphex b578f8236c Cleanups 2016-08-30 03:20:55 +02:00
twinaphex 9909607da5 Add default settings 2016-08-30 03:13:22 +02:00
twinaphex 876ce5ad67 Cleanups 2016-08-29 21:10:25 +02:00
twinaphex 82581c8461 Cleanup 2016-08-29 21:09:18 +02:00
twinaphex a1db337fdd Cleanups 2016-08-29 21:07:22 +02:00
twinaphex 03405439ba Cleanup 2016-08-29 21:03:01 +02:00
twinaphex e31a3b1366 (configuration.c) Cleanup 2016-08-29 21:00:05 +02:00
twinaphex 3ad5b604c9 Default settings for float variables 2016-08-29 20:57:24 +02:00
twinaphex ef46d27607 Add more default settings 2016-08-29 20:42:29 +02:00
twinaphex cf2bdbb15e Remove wraparound.setting_enable 2016-08-29 20:40:39 +02:00
twinaphex 8574891359 Default setting cleanups 2016-08-29 20:32:18 +02:00
twinaphex 9e6a360c1e Cleanups 2016-08-29 20:18:20 +02:00
twinaphex eba3c75347 More default settings 2016-08-29 20:09:56 +02:00
twinaphex 5920e54cca Add more default settings 2016-08-29 20:02:40 +02:00
twinaphex 5a1f94a124 Fill in some more default settings 2016-08-29 19:29:42 +02:00
twinaphex 805ca286f0 Add default settings members - only one setting uses this for now
for bool settings
- Also make sure we deallocate everything we no longer need in
config_load_file
2016-08-29 19:26:08 +02:00
twinaphex 62939cd734 Move code around 2016-08-29 19:10:00 +02:00
twinaphex ff6b02f967 Don't allocate more than what we need 2016-08-29 17:38:16 +02:00
twinaphex 6db73d0208 Move memory allocation to populate_settings functions 2016-08-29 17:37:03 +02:00
twinaphex 03bb3d847d Cleanups 2016-08-29 17:31:24 +02:00
twinaphex a7b299950a Fix bug 2016-08-29 17:29:19 +02:00
twinaphex a09664c758 Refactor populate_settings_int so we are C89-compatible again 2016-08-29 17:04:15 +02:00
twinaphex a414f4093f Rewrite populate_settings_bool 2016-08-29 16:57:33 +02:00
twinaphex ae3d9bc0aa Cleanups 2016-08-29 16:29:00 +02:00
twinaphex 09c59b6eba Cleanups 2016-08-29 16:27:33 +02:00
twinaphex 67932e0356 Remove this 2016-08-29 16:20:57 +02:00
Twinaphex c05ca979b8 Silence two unused vaiable warnings 2016-08-29 16:02:30 +02:00
twinaphex 62b08a4d55 add back missing boolean settings 2016-08-29 15:59:17 +02:00
twinaphex 65c3ce8522 Cleanup 2016-08-29 15:46:25 +02:00
radius 83123e655f cleanup 2016-08-29 08:44:56 -05:00
twinaphex 6911bdb8c0 Replace strcmp usage and go through wrapper function 2016-08-29 15:41:42 +02:00
twinaphex 61d3567555 Refactor boolean settings 2016-08-29 15:36:55 +02:00
twinaphex e858103e6d Refactor this code 2016-08-29 15:26:42 +02:00
twinaphex 699ba910b2 Turn these into static functions 2016-08-29 15:12:13 +02:00
twinaphex bb3358ac93 Use populate_settings_float inside config_load_file too 2016-08-29 15:10:52 +02:00
twinaphex 4fb0a8bdca Should fix crash at shutdown 2016-08-29 14:54:24 +02:00
twinaphex d693402a85 Should hopefully fix issues 2016-08-29 14:46:12 +02:00
radius c578fb5dc8 add some logging 2016-08-29 00:44:08 -05:00
radius be6ddfa6d0 add default menu content 2016-08-28 23:21:29 -05:00
twinaphex b97eac8f30 config_save_autoconf_profile - prevent first two parameters of fill_pathname_join being the same 2016-08-29 04:02:58 +02:00
twinaphex 3c9014db78 Rewrite populate_settings_string 2016-08-29 03:58:06 +02:00
twinaphex fa84305016 Rewrite populate_settings_float 2016-08-29 03:44:06 +02:00
twinaphex cf5911f107 Rewrite populate_settings_path so it's C89-compatible again 2016-08-29 03:37:21 +02:00
Brad Parker cf4bf344a9 add configuration option to toggle showing hidden files (default on), fixes issue #2769 2016-08-27 21:48:55 -04:00
twinaphex b3be878c7e (GX) Silence warnings 2016-08-27 02:44:58 +02:00
twinaphex f851440a6b Some C89 fixes 2016-08-27 02:35:21 +02:00
Twinaphex efc245b85a Remove unused variables 2016-08-27 02:23:44 +02:00
radius 50e8021673 (ovr) fix potential leaks 2016-08-26 11:26:24 -05:00
radius 671aa0f59c (ovr) add game overrides too 2016-08-26 09:43:29 -05:00
radius 1b91202004 (ovr) allow overwriting existing overrides, still have to make dirs for new overrides 2016-08-26 01:06:15 -05:00
radius 7c78f52e6b (ovr) change a few log messages 2016-08-26 00:46:49 -05:00
radius 45ca269573 (ovr) define paths for override files 2016-08-26 00:45:01 -05:00
radius 02d164b9e4 (ovr) reimplement path_settings 2016-08-25 20:10:01 -05:00
radius 89d59c5b36 (ovr) free these buffers 2016-08-25 19:51:47 -05:00
radius 97a5c3a118 (ovr) reimplement string_settings 2016-08-25 19:49:31 -05:00
radius 256670e7d3 (ovr) reimplement float_settings 2016-08-25 19:30:10 -05:00
radius 1bcaf884db (ovr) reimplement int_settings 2016-08-25 19:14:10 -05:00
radius 1a933bf7d3 (ovr) reimplement bool_settings 2016-08-25 19:00:06 -05:00
radius 3cbb03349f (ovr) implement bool settings 2016-08-25 10:30:30 -05:00
radius c6c054bad1 (ovr) start implementing diff function 2016-08-25 01:34:51 -05:00
radius 0f3ea88f86 (ovr) allow loading settings in an alternate variable 2016-08-25 00:33:23 -05:00
twinaphex 3bbf2a74ba Remove double entry 2016-08-24 13:17:30 +02:00
radius 616f517de7 fix savefiles/savestates not overriding 2016-08-20 12:52:47 -05:00
twinaphex a27f042731 Start preparing XMB for Vita 2016-08-19 19:10:31 +02:00
Jean-André Santoni 04fb4f6dde (XMB) Allow hiding some tabs 2016-08-18 16:42:39 +02:00
Jean-André Santoni 4228e3dcc3 Revert "Reworked xmb driver to allow tab hiding"
This reverts commit 069a9cbfe6.
2016-08-18 14:06:54 +02:00
Twinaphex a8023b4957 Merge pull request #3395 from gitghostcoder/master
Reworked xmb driver to allow tab hiding
2016-08-17 19:53:09 +02:00
Ghost Coder 069a9cbfe6 Reworked xmb driver to allow tab hiding 2016-08-17 11:28:42 -05:00
twinaphex eb83d6dfc0 (configuration.c) Plug memory leaks 2016-08-17 17:48:13 +02:00
Alcaro 32a56d2738 Revert "[bugged] Reworked xmb driver to allow tab hiding" 2016-08-17 15:07:17 +02:00
Ghost Coder 46029bef22 Reworked xmb driver to allow tab hiding 2016-08-06 04:08:21 -05:00
twinaphex aa2af0b61f Refactor has_set settings 2016-08-01 21:51:23 +02:00
twinaphex ef7ce5beee Create RARCH_OVERRIDE_SETTING_VERBOSITY 2016-08-01 20:54:16 +02:00
twinaphex 3d75c0abdc Add HAVE_MENU ifdefs 2016-08-01 20:27:14 +02:00
twinaphex 60158f5247 Make it possible to compile again with ./configure --disable-rgui 2016-08-01 18:29:26 +02:00
twinaphex 2665212237 (configuration.c) Add HAVE_MENU ifdef 2016-08-01 18:26:06 +02:00
twinaphex 5636569d9e (configuration.c) Fix bug in config_menu_btn_cancel_default 2016-08-01 18:22:03 +02:00
twinaphex 9e8f5127e2 (General) Allow for platforms to set menu OK/cancel buttons individually
(Shield/Android) Set default OK/cancel buttons now to Shield A (OK)
and Shield B (Cancel), previous default was Shield A (Cancel),
Shield B (OK)
2016-08-01 14:20:47 +02:00
twinaphex 2bcdaf2c57 Create config_overlay_enable_default 2016-08-01 14:14:21 +02:00
twinaphex b126b9627d (Android) When Android device is a game console, disable overlays by default 2016-08-01 14:09:04 +02:00
twinaphex 1468b54b41 CXX_BUILD buildfix 2016-07-31 23:42:55 +02:00
twinaphex 0536439129 Create static variable for path_libretro and move it outside
of settings struct
2016-07-31 14:40:59 +02:00
twinaphex 10a9effc1d Silence warnings 2016-07-31 14:29:33 +02:00
Twinaphex a739b7e60c Merge pull request #3289 from fr500/master
Per-core & Per-game shader presets #2
2016-07-31 01:42:34 +02:00
twinaphex f391c1b65d Add new path settings for music/image/video history paths 2016-07-30 22:32:52 +02:00
radius 785d5519a6 only load shaders compatible with the current backend 2016-07-30 15:28:47 -05:00
radius d58c802e3b restore the original shader on close 2016-07-30 14:36:01 -05:00
radius fcd5507158 remove some dead code 2016-07-30 13:57:53 -05:00
radius fccb4387d2 implement shader overriding 2016-07-30 13:55:50 -05:00
Twinaphex 685c126589 Remove unused variables 2016-07-30 19:31:37 +02:00
radius 0536906e63 add setting for auto shader presets 2016-07-30 11:16:42 -05:00
twinaphex e477555991 Get rid of hacky per-core config - this and config overrides
was mutually exclusive, so time to cut the fat
2016-07-30 16:49:04 +02:00
twinaphex ac9b3194a5 Create config_get_active_core_path_ptr 2016-07-29 22:52:37 +02:00
twinaphex 628367d201 Create config_get_active_core_path_size 2016-07-26 14:29:53 +02:00
twinaphex 31bcb3d6f8 (MaterialUI) Try to default to Shield color theme for Shields 2016-07-25 14:27:51 +02:00
twinaphex 58c425ef19 Revert "Refactor settings"
This reverts commit afcc9657d2.
2016-07-25 12:30:41 +02:00
twinaphex afcc9657d2 Refactor settings 2016-07-25 11:59:38 +02:00
twinaphex 1b057a0c71 Move structs to configuration.h 2016-07-25 11:23:40 +02:00
twinaphex c87cb567d7 Rename value_ptr to ptr 2016-07-25 11:08:23 +02:00
twinaphex a943a200d6 Add comments 2016-07-25 08:06:04 +02:00
twinaphex cc03d75733 Rearrange settings 2016-07-25 08:01:57 +02:00
twinaphex 568021192c Fix cheevos boolean settings not being read 2016-07-25 07:54:31 +02:00
twinaphex 5ee8e25d70 Cleanups 2016-07-25 07:33:41 +02:00
twinaphex f1b84b7f99 Start using core path wrapper functions 2016-07-25 06:47:15 +02:00
twinaphex 93e7039f71 Save more settings 2016-07-25 06:38:41 +02:00
twinaphex cacf756748 cheevos_enable should be saved now 2016-07-25 04:52:17 +02:00
twinaphex 16908435bb Create config_active_core_path_is_empty 2016-07-24 11:27:44 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 0a959ab047 (configuration.c) Rearrange 2016-07-24 10:49:38 +02:00
twinaphex ab1292ddda Create LUT table for float settings 2016-07-24 10:42:49 +02:00
twinaphex d08901c6ac Move more int settings to LUT table 2016-07-24 10:28:56 +02:00
twinaphex ed1d86205d Cleanup 2016-07-24 09:45:11 +02:00
twinaphex efc52c3f74 Add int settings LUT table 2016-07-24 09:43:16 +02:00
twinaphex 1585e01e5c Fix CXX_BUILD warnings 2016-07-24 09:24:09 +02:00
Twinaphex 5673468bb3 Get rid of unused variable 2016-07-24 09:18:51 +02:00
twinaphex 99572a9f92 Cleanups 2016-07-24 09:18:08 +02:00
twinaphex fb2f08ffc5 Move more entries up 2016-07-24 09:12:23 +02:00
twinaphex 832b643983 Move CONFIG_GET_INT_BASE entries up 2016-07-24 09:10:10 +02:00
twinaphex 3e4ffb1db4 Cleanups 2016-07-24 08:54:38 +02:00
twinaphex d8afdef463 Reorganize config_load_file 2016-07-24 08:52:03 +02:00
twinaphex 150d905b57 Start creating LUt tables for config loading too 2016-07-24 07:47:40 +02:00
twinaphex f975938394 Create LUT table for path settings 2016-07-24 07:14:24 +02:00
twinaphex aa32b71c9c Fix earlier regression with float settings LUT and create string
settings LUT
2016-07-24 06:07:24 +02:00
twinaphex 0b4ca23f43 Rearrange config_set_string/config_set_path - create
float setting LUT
2016-07-24 05:57:20 +02:00
twinaphex 61f2777ef6 Create float settings LUT table 2016-07-24 05:50:36 +02:00
twinaphex 7f01ec9b79 Add more int settings 2016-07-24 05:08:04 +02:00
twinaphex 6e9d8d369f Create settings int LUT table 2016-07-24 05:01:11 +02:00
twinaphex 43d483b14e Add more bool settings to settings LUT 2016-07-24 04:37:46 +02:00
twinaphex 5900bbf5a4 Add more boolean settings 2016-07-24 02:18:57 +02:00
twinaphex 7947fa9152 Start adding boolean settings for saving to the array 2016-07-24 02:15:07 +02:00
twinaphex 31a88f70e7 Start refactoring some settings 2016-07-23 14:59:07 +02:00
twinaphex 066832c8a2 Cleanups / start going through config_get_active_core_path 2016-07-23 14:37:20 +02:00
twinaphex a6aa0b8e0c Cleanups 2016-07-23 14:29:57 +02:00
twinaphex ee87ef0ae9 Turn path_core_specific_config into static variable 2016-07-23 14:27:17 +02:00
twinaphex 0c17c08bee Cleanup 2016-07-23 14:18:42 +02:00
twinaphex 6ffa5ab6b2 Create config_get_active_path 2016-07-23 14:18:17 +02:00
twinaphex 61fe38bf6d Add log message 2016-07-23 13:04:07 +02:00
twinaphex 1633cd8701 Save libretro_path for non-HAVE_DYNAMIC 2016-07-23 08:06:49 +02:00
twinaphex cb563a9256 (configuration.c) Use string_is_empty 2016-07-23 03:13:24 +02:00
twinaphex 1ebeeeb725 (PS3) Playlists and history lists should save now again;
(HAVE_DYNAMIC not defined) libretro_path should get read from config file
to prevent instance where settings->path.libretro is empty, which lead to
history not being able to be pushed to
(History/Playlists) If we don't have core info files and core_name
is therefore blank, we should attempt
a fallback path so that it infers the name from the core basename instead
2016-07-23 00:15:37 +02:00
twinaphex e1e2e83c0f Set default mouse enable 2016-07-16 19:57:16 +02:00
twinaphex 16b6ff7f9b Set default icon theme to proper one here too 2016-07-14 22:53:11 +02:00
twinaphex 60d3b22bb6 Create Menu Header Opacity setting 2016-07-11 17:41:06 +02:00
twinaphex b4dbc16024 Add Menu Footer Opacity setting 2016-07-11 17:27:36 +02:00
twinaphex 7d518bd4a8 Add menu_wallpaper_opacity 2016-07-10 17:13:19 +02:00
twinaphex 2fce2f4045 Add menu wallpaper opacity setting 2016-07-09 15:13:06 +02:00
twinaphex 180c0c87c1 Add MaterialUI menu color theme setting 2016-07-09 13:17:29 +02:00
twinaphex e0504bfc62 Reorganize xmb/MaterialUI settings 2016-07-09 13:05:58 +02:00
twinaphex 968dcf4d39 Rename settings 2016-07-09 12:59:56 +02:00
twinaphex d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
twinaphex 0ecb2379ff config_get_default_video - add VIDEO_VULKAN 2016-07-01 12:14:06 +02:00
twinaphex 2009c72baa config_replace - do early return if global is NULL 2016-07-01 08:54:31 +02:00
twinaphex 2520a8a5f6 Indenting nits 2016-07-01 08:53:27 +02:00
twinaphex 543c188da6 Create fill_pathname_join_special_ext 2016-06-30 05:02:45 +02:00
twinaphex c83477cb62 Create FILE_PATH_REMAP_EXTENSION 2016-06-29 18:43:00 +02:00
twinaphex a301562149 Dehardcode .cfg extension 2016-06-29 18:40:36 +02:00
twinaphex a7e8707f7d Create fill_pathname_join_delim_concat 2016-06-29 17:51:25 +02:00
twinaphex fa7eb9d8c8 Create file_path_str FILE_PATH_NUL 2016-06-28 11:10:30 +02:00
twinaphex 7a745c3f70 Use string_is_empty 2016-06-28 11:02:51 +02:00
twinaphex 7330f96946 Cleanup 2016-06-26 11:08:38 +02:00
twinaphex e9b39cc17f Cleanups 2016-06-26 09:58:10 +02:00
twinaphex f9b535ea91 Create Input Bind Timeout setting 2016-06-26 08:22:40 +02:00
twinaphex c6e835685f Be prudent with config_get_path 2016-06-25 07:12:37 +02:00
twinaphex 65ecec9391 Use sting_is_empty 2016-06-25 02:30:54 +02:00
twinaphex 8a8fadc5b2 Implement max swapchain images setting, implement it first for DRM/KMS context 2016-06-21 21:36:58 +02:00
twinaphex 35b078857d Create file_path_str.c 2016-06-20 05:20:14 +02:00
twinaphex b3188195a8 Create file_path_str 2016-06-20 05:11:01 +02:00
twinaphex 7dc6d0f369 Cleanup 2016-06-11 22:00:29 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex 63af59a198 Add HAVE_LANGEXTRA 2016-06-07 06:05:41 +02:00
twinaphex 7625a790ba Cleanups 2016-06-03 04:35:07 +02:00
twinaphex bc3eb34da5 Remove unused variables 2016-06-01 04:09:59 +02:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex 49f050b386 Move config_replace to configuration.c 2016-05-27 16:42:20 +02:00
twinaphex 6dc2e8ca45 (configuration.c) Cleanups 2016-05-27 05:13:05 +02:00
twinaphex dd03076976 Remove config_realloc 2016-05-27 05:05:27 +02:00
twinaphex 2b4baa0452 Cleanup configuration.c 2016-05-27 05:02:26 +02:00
twinaphex d6a36f3768 configuration.c - fix unchecked return value 2016-05-26 18:17:31 +02:00
twinaphex a82a8cad51 Be more careful with config_get_bool 2016-05-24 22:48:15 +02:00