141 Commits

Author SHA1 Message Date
Sven
83da70586e implement a way to set rewind_buffer_size via the UI 2018-07-13 16:12:09 -04:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex
167b977c4d Fix some build errors with MSVC 2003/2005 cores 2018-03-28 16:22:35 +02:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
radius
3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
twinaphex
d1ad5c336e Silence warnings 2018-01-02 06:28:05 +01:00
Alcaro
e0eb5e698e We'll want a test suite at some point, here's the first test 2018-01-01 20:55:26 +01:00
Alcaro
a79b3250ce why is -common trying to call out of -common 2018-01-01 20:42:10 +01:00
twinaphex
07f13876fc Fix playlist issues with extract_value - the name of the last playlist
entry in history list was being reused for the next playlist entry
2018-01-01 20:17:41 +01:00
twinaphex
21c1acac73 Prevent another Coverity warning - memory corruption 2018-01-01 17:24:00 +01:00
twinaphex
b279dfcb64 Simplify extract_value 2018-01-01 16:45:18 +01:00
twinaphex
515918f80c config_file.c - fix Coverity warning - resource leak of
path
2018-01-01 16:37:20 +01:00
twinaphex
e566a5591b Revert "Revert config_file.c"
This reverts commit 2f422a457f4e51fa6a70bd22040c550e97b2397f.
2018-01-01 07:45:57 +01:00
twinaphex
f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc0b19dd9fe665059f2143d29fa01868.
2018-01-01 07:45:56 +01:00
twinaphex
a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex
2f422a457f Revert config_file.c 2017-12-20 02:52:01 +01:00
Alcaro
b7249525d4 guess drunk is better than untested 2017-12-19 00:13:19 +01:00
Alcaro
b2d5fad4f5 strtok is drunk 2017-12-19 00:08:25 +01:00
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