553 Commits

Author SHA1 Message Date
Alcaro
7817ba2340 Add ugly check 2017-11-24 22:14:03 +01:00
Alcaro
053fbd6f27 Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes) 2017-11-24 22:08:57 +01:00
twinaphex
92ea40d96e Fix edge case when file is empty 2017-11-24 21:39:10 +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
twinaphex
13e0bd1932 Change function signature of file_path_rename 2017-11-06 19:17:42 +01:00
twinaphex
e5d4e2ac0a Silence a lot of warnings 2017-11-06 19:13:54 +01:00
twinaphex
451dc774b0 Update libretro-common 2017-11-06 05:26:07 +01:00
Rob Loach
e29e8d9c62
Fix for included 7zip headers 2017-11-04 16:21:02 -04: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
Brad Parker
1842471eb1 use filestream_open to check if a file exists 2017-10-28 16:00:51 -04:00
Brad Parker
f3aceefe84 win32: use W-functions for nbio file IO too 2017-10-18 12:30:44 -04:00
twinaphex
f8a60b2b76 Create LEGACY_WIN32 ifdef 2017-10-16 01:51:59 +02:00
twinaphex
8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00
Brad Parker
1b1d5c468d win32: use unicode functions for file IO if supported 2017-10-15 17:41:34 -04:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
twinaphex
8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex
702f1276d6 Silence warnings 2017-10-03 00:53:09 +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
df60512a0d Cleanup our dep version of 7zip - we don't want non-stdint types.
Other misc. cleanups
2017-09-21 19:23:09 +02:00
Brad Parker
07566c51a1 VC6 buildfixes, add Makefile.griffin target for it 2017-09-07 11:50:10 -04:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
Brad Parker
1204715525 msvc throws debug assert with fopen on a null string 2017-09-03 23:52:58 -04:00
twinaphex
c7e6f19920 Cleanup retro_dirent_is_dir 2017-08-06 14:21:18 +02:00
twinaphex
e3192ad3c5 Get rid of some incompatible implicit declaration warnings 2017-08-06 13:55:32 +02:00
twinaphex
3a141cb891 Create retro_dirent_include_hidden 2017-07-04 04:09:45 +02:00
twinaphex
2fda0b7e66 Simplify retro_dirent 2017-07-04 03:30:53 +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
ddb4867c52 (file_path.c) Cleanups 2017-06-28 04:51:58 +02:00
twinaphex
e1041030a2 Get rid of stdstring.h dependency for file_path.c 2017-06-28 04:44:33 +02:00
twinaphex
50b07ad8c4 Move retro_le to archive_file_zlib.c 2017-06-28 04:20:52 +02:00
twinaphex
d3868cc06f Get rid of retro_assert usage in file_path.c 2017-06-26 05:33:47 +02:00
twinaphex
cf71d465a3 Turn mkdir_norecurse into static function 2017-06-16 15:33:06 +02:00
twinaphex
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
8d1e51af7c Make archive_file_7z.c less dependent on 7zip source files 2017-06-12 12:26:19 +02:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
twinaphex
126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +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
e8c1c153d6 Prevent nULL pointer dereference 2017-05-08 22:55:45 +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
0c66441d08 (archive_file) Cleanups 2017-04-21 20:46:41 +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