46 Commits

Author SHA1 Message Date
misson20000
7072bbb829 [NSW] SDK compat fixups 2018-09-15 03:27:29 -07:00
Twinaphex
65535a1259 Cleanups 2018-09-01 01:03:58 +02:00
Brad Parker
5fd0664277 fix heap buffer overflow 2018-08-11 21:20:05 -04:00
twinaphex
a3847ed656 Not available on PSP either 2018-08-08 06:03:01 +02:00
twinaphex
80227bfcdb Vita doesn't have ftruncate it seems 2018-08-08 01:46:32 +02:00
twinaphex
c563eedb32 Hopefully the VFS interface can now remain stable 2018-08-07 05:53:32 +02: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
7acd4b1847 (Windows) Buildfixes - use fseek for MSVC 2003 and earlier 2018-02-17 19:11:49 +01:00
twinaphex
bda5e67b48 (PS3) Use fseek for PS3 - fseeko not available 2018-02-15 06:50:15 +01:00
Brad Parker
95bb7f5aa5 use 64-bit file offsets/seeking on windows 2018-02-14 06:16:12 +00:00
Brad Parker
a8af4ee8c6 use 64-bit ftell on mingw also 2018-02-10 13:19:24 -05:00
Brad Parker
40e9416c6c use 64-bit ftell on Windows where available 2018-02-09 13:33:03 -05:00
twinaphex
3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex
751c0fe58c Sync libretro-common 2018-01-05 13:16:04 +01:00
twinaphex
d0b414f9d8 indenting nits 2018-01-01 08:03:04 +01:00
twinaphex
8619534a31 Fix resource leaks pointed out by Coverity 2017-12-30 08:37:52 +01:00
Alcaro
ec4b0f9089 What kind of bug farm is this filestream thingy 2017-12-29 15:32:07 +01:00
Alcaro
a8359a8664 VFS specification very clearly says zero or minus one, not 'return whatever rename() says'. 2017-12-28 19:11:43 +01:00
twinaphex
6622cb0810 Update libretro API 2017-12-16 14:12:38 +01:00
twinaphex
d8068553f4 Update 2017-12-16 02:47:59 +01:00
twinaphex
4ba1e8336d Update libretro-common 2017-12-15 23:21:22 +01:00
twinaphex
42462c2ba9 Silence some warnings 2017-12-15 18:31:12 +01:00
Alcaro
cbdb91a668 Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords. 2017-12-15 17:28:55 +01:00
Alcaro
c88e5e08a0 Add VFS support to imageviewer (should get Unicode filenames working on Windows too, even without VFS) 2017-12-15 11:00:02 +01:00
twinaphex
4369ac1545 Update 2017-12-15 00:35:11 +01:00
twinaphex
1932513edb Update libretro-common 2017-12-15 00:31:37 +01:00
Alcaro
ecf5d55a25 Rename this one, to not codify policy in what should be a frontend decision 2017-12-14 21:21:18 +01:00
Brad Parker
8c0adf3594 move path_file_rename and path_file_remove into VFS 2017-12-14 13:32:26 -05:00
twinaphex
842ac40c6e Style nit 2017-12-14 19:09:29 +01:00
Alcaro
ff1d452096 Implement get_path 2017-12-14 18:48:37 +01:00
twinaphex
ef3ba4d989 Get rid of retro_vfs_file_putc 2017-12-14 18:45:54 +01:00
Alcaro
f282044be2 this doesn't belong here. 2017-12-14 18:10:04 +01:00
Alcaro
f536d25013 Too many ifdefs 2017-12-14 17:55:30 +01:00
Alcaro
d5847c2391 Revert and fix "Don't use opaque handle to get around warnings and other issues"
This reverts commit e23409926e9a7b8b9038683e2a35db9f9d91e258.
2017-12-14 17:28:13 +01:00
twinaphex
b20de872a3 Remove file_stream.h dependency on vfs_implementation.c 2017-12-14 16:41:10 +01:00
twinaphex
41b1329bc1 Rewrite filestream_seek call 2017-12-14 15:56:28 +01:00
twinaphex
10199d4c81 Remove this 2017-12-14 15:15:19 +01:00
twinaphex
e23409926e Don't use opaque handle to get around warnings and other issues 2017-12-14 15:06:28 +01:00
twinaphex
dadf968134 Add TODO/FIXME note 2017-12-14 14:05:55 +01:00
twinaphex
0b6c191354 Start moving file stream code over to vfs_implementation.c 2017-12-14 14:03:42 +01:00
gblues
0f7de204f7 Last batch of whitespace cleanup (post-rebase)
-- looks like a few files committed with DOS line endings
2017-12-12 00:24:46 -08:00
twinaphex
57b730ab61 Start implementing VFS layer ; first split up VFS libretro functionality
to separate header until things are finalized
2017-12-11 21:24:14 +01:00
twinaphex
c03b791b46 Start adding stub VFS implementation 2017-12-11 20:51:46 +01:00