71 Commits

Author SHA1 Message Date
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
e1461cc0de Get rid of hashes in config_file.c 2017-12-11 11:40:36 +01:00
twinaphex
2fd8210e59 Create shareable filestream_getline 2017-12-10 22:35:08 +01:00
twinaphex
2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
twinaphex
95cc8e12d2 Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist 2017-12-10 21:28:13 +01:00
Alcaro
e07ed18105 Fix text mode dependency 2017-12-10 21:00:24 +01:00
Alcaro
a6ef704369
Update config_file.c 2017-12-04 16:47:27 +01:00
twinaphex
059354de2f Cleanup for config_file_write 2017-12-04 16:26:28 +01:00
Alcaro
ff4dca86f9
Turns out this is char*, let's cast because CXX_BUILD wants that 2017-12-04 15:01:58 +01:00
Alcaro
300052626f
Use FILE* all the way
Fixes platforms where RFILE isn't using the FILE* backend, needed for #5664
2017-12-04 14:30:32 +01:00
Alcaro
a96e3e1ead
fix missing %s 2017-11-27 17:16:22 +01:00
Alcaro
4fb12c4bd3
#5802 2017-11-27 17:09:16 +01:00
Brad Parker
07f3919811 only call setvbuf right after opening file, and use our own buffer for C89 compliance 2017-11-17 02:28:45 -05:00
twinaphex
b05b27bff6 config_file.c - cleanups 2017-11-07 08:08:22 +01:00
Brad Parker
68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
twinaphex
8238545bef Cleanups 2017-10-04 06:53:47 +02:00
Alcaro
c91c4ff9c0 Nuke some more ifdefs and warnings 2017-10-03 00:35:41 +02:00
twinaphex
5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
Alcaro
3374b0ffde Add why we're doing this 2017-09-29 04:04:51 +02:00
twinaphex
8eb28eaae9 Add this for Wiiu debugging 2017-09-29 04:03:13 +02:00
twinaphex
0f1d0ebfa9 config_file.c - use malloc instead of calloc 2017-09-29 03:56:33 +02:00
twinaphex
4813019c58 Cleanup 2017-06-28 07:53:05 +02:00
twinaphex
25c18bb3ce (config_file.c) Cleanups 2017-06-28 06:41:58 +02:00
twinaphex
8fbcf34e02 Cleanup config_file.c 2017-06-28 06:25:32 +02:00
twinaphex
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex
5a9f6ad9b7 Try to prevent null pointer dereference 2017-05-09 20:45:09 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
271edb4ca1 We don't want uppercase for these instances 2017-04-21 14:26:35 +02:00
twinaphex
607ae71259 Turn string_is_equal_noncase into self-contained function 2017-04-21 14:17:47 +02:00
twinaphex
82c62b1693 Use stdstring in more instances 2017-04-21 13:50:24 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex
a94c20713d Update copyright 2016-12-24 20:24:06 +01:00
aliaspider
fd43a460f4 set config file streams to full buffering. dramatically reduces startup/
shutdown latency on some devices with slow I/O access.
2016-10-28 01:49:53 +01:00
twinaphex
053208676f Prevent null pointer dereference 2016-10-26 09:55:09 +02:00
twinaphex
481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex
d25cace9ed Add config_file_exists 2016-09-18 21:55:53 +02:00
Alcaro
be4e0aee1f Clean up this thing 2016-08-20 21:23:32 +02:00
twinaphex
7f3e63a18d config_set_string - prevent potential crash 2016-08-20 21:21:09 +02:00
twinaphex
d95c421ba9 (config_file.c) Cleanups 2016-06-03 07:52:57 +02:00
twinaphex
d40eade52c Create filestream_getline 2016-06-03 07:09:50 +02:00
twinaphex
e9cf351c67 Move settings around for User Interface -
(config_file) Try to get rid of forward declarations
2016-06-03 06:43:11 +02:00
twinaphex
03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex
8f7e253f1f (config_file.c) Fix control flow issue 2016-05-24 14:20:03 +02:00
twinaphex
ac407588fa Include stdstring.h 2016-05-24 01:08:01 +02:00
radius
86b5b361da fix the last commit 2016-05-23 18:06:50 -05:00
radius
9300313fce fix lockup
this seems to fix a lockup that happens randomly on windows at startup, content load/content unload/controller hotplug
2016-05-23 17:57:15 -05:00