Commit Graph

83 Commits

Author SHA1 Message Date
twinaphex
07d86c7ac3 Create config_file_userdata.c 2014-09-15 21:25:40 +02:00
Lioncash
d1f908b8f8 Fix a few memory leaks
Also guard against calloc failure in lakka_init.
2014-09-15 11:29:30 -04:00
Lioncash
f1ab2ece8c Fix a realloc guard mistake I made in config file. 2014-09-14 20:22:17 -04:00
Lioncash
d4f01cafdf config_file: Guard against calloc/malloc/realloc failure cases 2014-09-14 18:49:21 -04:00
twinaphex
98b0c8d6a8 (config_file.c) Cleanups 2014-09-02 19:20:03 +02:00
Themaister
ee916bf2f1 Some Android fixes.
Dump config with RARCH_LOG instead of fprintf.
2014-06-11 15:48:15 +02:00
Themaister
1d893392b0 Don't try to override PATH_MAX in config_file.c. 2014-06-01 12:06:01 +02:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
meancoot
4d671fe116 Make settings abbreviate paths when saving config file. 2013-12-24 12:23:21 -05:00
Themaister
4db766926f Don't try to parse empty lines. 2013-10-24 23:47:11 +02:00
Themaister
be18db52e7 Allow comment character in strings wrapped in "". 2013-10-24 23:27:47 +02:00
twinaphex
8487cd0204 Start using C89-style for loop initial declarations for
reusable code module parts that we reuse in other projects. It's
a huge maintenance burden having to change this stuff around everytime
when compiling in non-C99 mode
2013-10-19 19:39:38 +02:00
pinumbernumber
50e4dfb57c Various fixups to the internal autoconf system 2013-09-06 13:46:06 +01:00
pinumbernumber
8fd84fa46c Hardcoded joypad config fallbacks, and required changes to config_file 2013-09-05 20:44:00 +01:00
Themaister
e649db253c Reintroduce CGP refactor.
Fix several issues that caused crashes.
2013-04-06 12:00:10 +02:00
twinaphex
0340f2043c Revert "Major refactor to CGP parsing."
This reverts commit 211e17250c.
2013-04-06 04:37:17 +02:00
Themaister
211e17250c Major refactor to CGP parsing.
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00
Themaister
5d7b2821cc Build fix Win32 2013-03-17 12:30:26 +01:00
Themaister
2588e60180 Add relative-to-application querying to config. 2013-03-17 12:28:26 +01:00
twinaphex
33be616912 (Playbook) Hardcode definition of CLOCK_MONOTONIC (looked at
QNX time.h header)
2013-02-25 02:36:42 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
651683becc Use strtod in config_get_float regardless. 2012-11-26 22:16:29 +01:00
Themaister
2da456d007 Fix up config_get_uint. 2012-11-26 22:16:29 +01:00
Themaister
8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister
86e21686f7 Refactor out buggy 'in-line' path handling. 2012-11-18 17:16:20 +01:00
Themaister
9f3af988f1 Only build D3D as C++ on Win32.
Fix a couple of headers with #ifdef __cplusplus.
2012-11-04 22:56:41 +01:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
Themaister
a8ab9c54bc Add --appendconfig option. 2012-09-11 00:10:44 +02:00
Themaister
bca1694183 Make path shell-style reading part of config reader. 2012-09-08 00:31:30 +02:00
twinaphex
cc154d21ab (Xbox 1) Add RetroArch Salamander project + fix config_file.c 2012-08-07 00:23:25 +02:00
Toad King
b64207a8aa Do not open config files on console in append mode 2012-08-06 15:12:59 -04:00
twinaphex
a66291c309 (Xbox 1) Create RetroArch Salamander XBE file - default.xbe 2012-08-05 19:09:51 +02:00
Themaister
d038cdce37 Refactor ifdef logic in config to r/a+ modes. 2012-07-30 07:58:07 +02:00
Twinaphex
22dc1b9e72 (RARCH_CONSOLE) If a config file does not exist, try to create it
first before entering out of config_file_new function - reduces
some code bloat in console ports
2012-07-29 18:17:53 +02:00
Themaister
e5b3a61f9f Replace use of unsafe strtok() with strtok_r.
Implement compatibility for strtok_r() on Win32.
2012-06-24 02:37:19 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
da075bb261 Default initialize config macro values to stop eager compiler warnings. 2012-03-28 23:18:05 +02:00
Themaister
9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
TwinAphex51224
81988fc1ef (360) Don't include D3D/Netcode where not needed through NOD3D/
NONET defines
2012-03-11 16:17:42 +01:00
Themaister
e318a1d5a7 Fix incompatibility with non-compilant C runtime. 2012-03-07 12:42:22 +01:00
Themaister
2463924d69 Use uint64_t across the board for joykeys. 2012-03-04 13:55:35 +01:00
Themaister
9c861f13be Fix additional exclamation marks. 2012-02-11 21:16:01 +01:00
Themaister
ce08251f53 Replace usage of DOUBLE with FLOAT in configs. 2012-01-30 15:14:30 +01:00
TwinAphex51224
bbd6e16bbe (Core) Remove float macros 2012-01-30 14:13:04 +01:00
TwinAphex51224
959411c094 (PS3) Uses config file macros now 2012-01-30 13:45:37 +01:00