58 Commits

Author SHA1 Message Date
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
David Walters
adf4ed960e Handle null and empty string calls to retro_opendir with a consistent null return. 2018-04-13 10:31:21 +01:00
twinaphex
e7bed050bc Fix memory leak 2018-04-12 20:54:06 +02:00
David Walters
801ecb019a patch retro_opendir to handle nullptr and empty-string input 2018-04-12 12:44:42 +01:00
twinaphex
75b48a866f (3DS) Fix compilation error 2018-02-02 21:44:24 +01:00
twinaphex
acdbf6f069 Cleanup retro_dirent.c 2018-02-02 19:09:25 +01:00
Brad Parker
dbe270476a Prevent undefined behavior reported by UBSan
runtime error: member access within null pointer of type 'const struct dirent'
2018-02-02 11:43:24 -05:00
Brad Parker
1a928b9c50 omit extra slash at end of path, Win95/98 doesn't like them 2017-12-09 16:38:33 -05:00
Brad Parker
49d0299808 LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode 2017-12-04 22:49:08 -05: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
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
6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex
64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex
9db910c049 Cleanup 2016-12-24 20:22:23 +01:00
twinaphex
feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
Brad Parker
e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker
cc7bf6b4fa more unicode fixes 2016-12-02 21:11:55 -05:00
Brad Parker
3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
Brad Parker
3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
Brad Parker
367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Brad Parker
8adafa9249 use UTF8/16 conversion functions instead of codepage ones 2016-11-29 14:34:36 -05:00
Brad Parker
495deae31b still not working 2016-11-29 14:34:36 -05:00
Brad Parker
cd9d09d1f3 use unicode versions of windows functions 2016-11-29 14:34:35 -05:00
aliaspider
e9618dd6a0 (3DS) opendir with an empty string isn't returning NULL as it should. 2016-10-04 19:40:36 +01:00
radius
cb25a9e4b8 should fix other platforms 2016-08-27 23:39:47 -05:00
radius
7092c0dbf4 windows build fix 2016-08-27 22:59:47 -05:00
aliaspider
5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
twinaphex
377f09f12a Change back retro_dirent_is_dir to hopefully avoid sshfs issues
- more rigorous testing should be applied before changing these
functions
2016-05-11 18:54:22 +02:00
twinaphex
d4a50935d2 C89_BUILD fix 2016-04-27 10:58:38 +02:00
twinaphex
ac18671ead Update libretro-common 2016-04-22 05:28:49 +02:00
twinaphex
f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex
b40b169098 Copy over libretro-common changes 2016-03-20 04:49:59 +01:00
twinaphex
8f67989bf1 (retro_dirent.c) Don't need posix_string for retro_dirent 2015-10-02 18:03:30 +02:00
twinaphex
87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex
1f852fb23d (libretro-common) Remove some header dependencies 2015-09-22 12:54:51 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex
f581dce1f7 Use path_is_directory from retro_dirent.c 2015-09-21 23:20:46 +02:00
Alcaro
5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro
fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00