Commit Graph

737 Commits

Author SHA1 Message Date
aliaspider 4ce8f84bac (WIIU) set AX as the default audio driver. 2016-11-06 23:42:05 +01:00
Brad Parker 5d28029be8 remove confirm_on_exit menu option 2016-10-30 23:29:03 -04:00
twinaphex 6a6c352360 The new OSK overlay built into the menu should be better - take
this out
2016-10-30 12:14:53 +01:00
Jean-André Santoni 6cc14a4fb9 Add missing copyright mention on some files 2016-10-27 18:17:43 +02:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex f017593501 Reduce size of some char variables and get rid of some implicit memsets 2016-10-27 09:44:20 +02:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex ad465cc5a4 Prevent more implicit memsets 2016-10-20 18:36:01 +02:00
twinaphex a9ce430ed6 Prevent some implicit memsets 2016-10-20 18:33:25 +02:00
twinaphex 185d073c3e (configuration.c) Prevent implicit memsets 2016-10-16 01:25:31 +02:00
Romain Graillot ade4e7857b Add possibility to switch touch surface on vita build 2016-10-15 13:28:35 +02:00
Twinaphex c489f1a7a7 Merge pull request #3797 from frangarcj/master
(VITA) Add Backtouch enable option
2016-10-14 22:05:02 +02:00
Francisco José García García 1ea5a80d02 (VITA) Add Backtouch enable option 2016-10-14 21:57:18 +02:00
radius 70a59f99ca This code seems redundant, it conflicts with overrides and there is no real need to have these as settings.
With this removed patching works as expected with bsnes, snes9x with IPS, BPS and UPS and with and without overrides
2016-10-14 10:44:31 -05:00
twinaphex d078df7a37 Prevent implicit memsets 2016-10-09 09:05:41 +02:00
Gregor Richards 2218b7baec Setting check_frames to 30 by default. 2016-10-04 22:48:37 -04:00
Twinaphex b0d63f0775 Remove unused variables 2016-10-04 06:09:59 +02:00
Gregor Richards 3953018547 Clarifications to Netplay menu and removing obsolete setting
This commit:
 * Reorders the Netplay settings menu to put more useful options at the
   top.
 * Renames the swap_input setting from "Swap Netplay Input", which is
   meaningless and confusing, to "Netplay P2 Uses C1", which is oddly
   truncated but at least true.
 * Removes the is_client setting altogether, as that's no longer how
   client vs. server mode is determined (each are separate options when
   enabling Netplay)
2016-10-03 17:28:20 -04:00
Twinaphex 8963db204d Merge pull request #3721 from GregorR/netplay-overrides
Making netplay-related settings overrides behave consistently
2016-10-03 16:11:51 +02:00
twinaphex 1626439c3c Get rid of path_get_core_ptr 2016-10-03 15:46:07 +02:00
Gregor Richards 4f489fb793 Making netplay-related settings overrides behave consistently 2016-10-03 08:31:21 -04:00
twinaphex 94e245315b Create dir_set function 2016-10-03 08:20:33 +02:00
twinaphex a4d48688c6 Create generic functions for dirs.c 2016-10-03 08:15:41 +02:00
twinaphex 92e76f8a19 Add HAVE_NETWORKING ifdef 2016-10-03 05:06:01 +02:00
Twinaphex fb117b9260 Remove unused variables 2016-10-03 04:34:08 +02:00
Gregor Richards e41ac34561 Get rid of global->netplay
Moved settings values into settings->netplay, and global->netplay.enable
is moved into netplay itself, and is no longer a configuration value
whatsoever, as that conflicts with the behavior of the netplay menu.
2016-10-02 22:13:34 -04:00
twinaphex bdf379d568 Create dir_clear 2016-10-01 23:26:59 +02:00
twinaphex d376ea0c9d Merge fixes 2016-10-01 08:24:02 +02:00
twinaphex 8f163e6972 Revert "Move global->name to paths.c"
This reverts commit 6ee7b733aa.
2016-10-01 08:18:23 +02:00
twinaphex 243dc139d2 Revert "Create path server and add to paths.c"
This reverts commit 00a1e3716a.
2016-10-01 08:17:44 +02:00
twinaphex c28de7d3ff Revert "Create dir_clear"
This reverts commit d7d49c36c7.
2016-10-01 08:16:58 +02:00
twinaphex 8458a039ca Revert "Create dir_get"
This reverts commit db3738babb.
2016-10-01 08:16:13 +02:00
twinaphex 2583390d31 Revert "Create dir_set"
This reverts commit d973e528f6.
2016-10-01 08:16:07 +02:00
twinaphex 1f4e50a72b Revert "Create dir_get_ptr"
This reverts commit ab7bc7755e.
2016-10-01 08:15:57 +02:00
twinaphex a9c7c453e0 Revert "Create path_get_ptr"
This reverts commit 0e3fbb615e.
2016-10-01 08:15:33 +02:00
twinaphex 5a3e5f85a5 Revert "Add record dirs to dirs.c"
This reverts commit fe3281e05d.
2016-10-01 08:15:07 +02:00
twinaphex 766653150c Revert "Fix non-HAVE_DYNAMIC"
This reverts commit b3dd8cd72b.
2016-10-01 08:13:16 +02:00
twinaphex 4567fdef52 Take out libretro_device from global struct 2016-10-01 06:22:57 +02:00
twinaphex 2dcc5b8e43 Add LIBRETRO_DEVICE to unset/set/is functions for override settings 2016-10-01 06:14:30 +02:00
twinaphex 67432fde57 Add void * param to is_set 2016-10-01 06:05:08 +02:00
twinaphex 3592b35573 Add second param to override_set 2016-10-01 05:51:03 +02:00
twinaphex 4d76503efd Move around global variable 2016-09-30 08:56:14 +02:00
twinaphex b3dd8cd72b Fix non-HAVE_DYNAMIC 2016-09-30 08:54:52 +02:00
twinaphex 967a463bc7 configuration.c - cleanup 2016-09-30 08:27:26 +02:00
twinaphex fe3281e05d Add record dirs to dirs.c 2016-09-30 07:45:04 +02:00
twinaphex 0e3fbb615e Create path_get_ptr 2016-09-30 07:33:08 +02:00
twinaphex ab7bc7755e Create dir_get_ptr 2016-09-30 07:21:33 +02:00
twinaphex d973e528f6 Create dir_set 2016-09-30 07:15:30 +02:00
twinaphex db3738babb Create dir_get 2016-09-30 07:11:52 +02:00
twinaphex d7d49c36c7 Create dir_clear 2016-09-30 07:02:23 +02:00
twinaphex 00a1e3716a Create path server and add to paths.c 2016-09-30 06:22:56 +02:00
twinaphex 6ee7b733aa Move global->name to paths.c 2016-09-30 06:11:11 +02:00
twinaphex 1266c0609a Create path_is_empty 2016-09-30 04:43:16 +02:00
twinaphex 228886062b Create path_clear 2016-09-30 04:31:19 +02:00
Gregor Richards 7ab1f420d9 Set delay_frames to 16 by default. 2016-09-29 20:20:07 -04:00
twinaphex 9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex 190c417350 Remove stub function 2016-09-29 20:14:26 +02:00
twinaphex 3d098839ca Update path_get 2016-09-29 08:46:41 +02:00
twinaphex 329f6ad612 Update path_get 2016-09-29 08:31:41 +02:00
twinaphex be81edad84 Create path_get 2016-09-29 08:23:41 +02:00
twinaphex 0b1270458c Update path_set 2016-09-29 07:49:54 +02:00
twinaphex 7e1a61570a Add more functionality to path_set 2016-09-29 07:46:21 +02:00
Twinaphex 3900d433f8 Cleanups 2016-09-29 05:49:10 +02:00
twinaphex 89505fa011 Get rid of global->patch 2016-09-29 05:46:31 +02:00
twinaphex 432f466e85 Cleanup parse_config_file 2016-09-25 05:09:41 +02:00
twinaphex 8e6d9a6978 move default_shader_preste code to paths.c 2016-09-25 04:55:16 +02:00
twinaphex 4cf9b3b6be configuration.c - prevent dereference after null warning from Coverity 2016-09-24 17:00:41 +02:00
Gregor Richards c81b022a7d Fix conflation of delay_frames and check_frames in configuration.c 2016-09-23 22:18:10 -04:00
twinaphex 4e3c9987f5 Prevent null pointer dereference / logically dead code / other misc. warnings 2016-09-23 16:03:37 +02:00
Jean-André Santoni 39be71e4ad Correctly save and load WiFi driver from the config file 2016-09-22 02:02:47 +02:00
twinaphex cc11244307 Fix memory leak 2016-09-22 00:58:29 +02:00
twinaphex 8095fa9ff8 Try to fix plethora of resource leaks 2016-09-20 16:32:33 +02:00
twinaphex d81f40a9e1 Remove double free 2016-09-20 16:30:08 +02:00
twinaphex 1a55721c78 Fix some high-priority Coverity-catched defects 2016-09-20 16:10:27 +02:00
twinaphex 49f7ce4365 Prevent unused variable warning 2016-09-17 19:43:30 +02:00
twinaphex 5c97d5b46b Move global->name.base to paths.c 2016-09-17 19:41:27 +02:00
twinaphex 5a48f32d6b Cleanups 2016-09-17 16:28:46 +02:00
twinaphex 017d05fd36 Create more dirs functions 2016-09-17 14:53:30 +02:00
twinaphex 4d317ba5d7 Update dirs.c 2016-09-17 14:49:35 +02:00
twinaphex ef02fb8a96 Refactor append config code 2016-09-17 14:14:58 +02:00
twinaphex f4e1ffeabf Don't access global->path.config directly 2016-09-17 13:42:48 +02:00
twinaphex 075599e818 Start using path_ functions for accessing and modifying global->path.config 2016-09-17 13:14:14 +02:00
twinaphex b89def5d8f Rename config_get/config_set functions 2016-09-17 12:51:44 +02:00
twinaphex 56d8be90ec Cleanup 2016-09-17 12:37:53 +02:00
twinaphex 5aebdb7484 Mov code to paths.c 2016-09-17 12:35:29 +02:00
twinaphex 9d7798d52a (configuration.c) Cleanup 2016-09-17 01:40:11 +02:00
Gregor Richards a42be48638 Don't do Netplay CRCing by default
There are too many buggy cores for Netplay to CRC in the default
configuration, so check_frames=0 by default. check_frames is a "last
resort" option anyway, so shouldn't need to be on by default.
2016-09-15 23:06:32 -04:00
Gregor Richards 2a0202ccf5 Making Netplay check frequency configurable. 2016-09-15 23:06:32 -04:00
twinaphex 229e0dd640 Cleanups 2016-09-08 05:48:43 +02:00
twinaphex 2cd568cdaa Use xmb_theme 2016-09-06 19:50:13 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 53b0543f47 Silence signed/unsigned mismatch warnings 2016-09-05 18:46:12 +02:00
twinaphex 535d460c63 Cleanups 2016-09-05 17:17:28 +02:00
twinaphex b1c946f22b Cleanup 2016-09-05 17:16:37 +02:00
twinaphex 5afb197198 Cleanup 2016-09-05 08:03:25 +02:00
Brad Parker 276542ea98 more menu popup refactor, add back working confirm_on_exit 2016-09-05 01:04:15 -04:00
Brad Parker 27925da4ae revert confirm_on_exit option for now 2016-09-04 15:31:50 -04:00
Brad Parker a17679a0c5 add input option to allow any user to control the menu 2016-09-03 19:01:29 -04:00
twinaphex a1583e04d7 config_load - cleanup 2016-09-03 08:15:41 +02:00
twinaphex 9bdca16884 (configuration.c) Cleanups 2016-09-03 08:12:40 +02:00
twinaphex 5613feafb6 Remove unused cheat_settings_path 2016-09-03 08:05:31 +02:00
Brad Parker ee7545857c add config option to enable quit confirmation 2016-09-01 21:47:25 -04:00
twinaphex fd7949c9f1 Move structs to configuration.c 2016-09-01 18:53:34 +02:00
twinaphex 29d5fc67a2 Prevent warning 2016-09-01 17:17:00 +02:00
twinaphex 27fb3ec1af Hopefully won't truncate array names again 2016-09-01 05:52:38 +02:00
twinaphex 4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex 4ef56581a9 Bugfix 2016-09-01 05:24:47 +02:00
twinaphex e60ae0b8de Cleanups 2016-09-01 04:40:02 +02:00
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