Commit Graph

578 Commits

Author SHA1 Message Date
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