twinaphex
4df62acac4
Get rid of this check
2019-07-26 20:50:40 +02:00
Brad Parker
99dbc4d13e
griffin: increase warning level for vc2010, fix signed/unsigned mismatch
2019-07-22 14:51:00 -04:00
twinaphex
f3eb48d1f5
Fix MSVC warnings
2019-07-22 20:16:27 +02:00
twinaphex
28c40ffab6
Revert "Revert "Improve vfs_implementation""
...
This reverts commit 1d5049294a
.
2019-07-15 06:49:33 +02:00
twinaphex
dca848df52
Revert "Revert "(VFS) Add codepath for MSVC CDROM code""
...
This reverts commit 651774daf1
.
2019-07-15 06:49:20 +02:00
twinaphex
651774daf1
Revert "(VFS) Add codepath for MSVC CDROM code"
...
This reverts commit 7fb8965416
.
2019-07-15 06:48:25 +02:00
twinaphex
1d5049294a
Revert "Improve vfs_implementation"
...
This reverts commit bb29b87ac3
.
2019-07-15 06:48:06 +02:00
twinaphex
bb29b87ac3
Improve vfs_implementation
2019-07-15 06:43:37 +02:00
twinaphex
7fb8965416
(VFS) Add codepath for MSVC CDROM code
2019-07-15 06:30:57 +02:00
Brad Parker
cf12a10ba0
cdrom: add CDROM tag to log prints
2019-07-10 20:56:23 -04:00
twinaphex
3639614eba
(VFS) Should fix CXX_BUILD
2019-07-10 23:10:20 +02:00
twinaphex
124283a934
(MSVC 2010) Add HAVE_CDROM
...
(CDROM) Ensure code compiles with MSVC
2019-07-09 09:23:47 +02:00
Brad Parker
15d97dbaf3
cdrom: add disc dump option
2019-07-08 16:06:35 -04:00
Brad Parker
2ef16de941
cdrom: add atip check function, show relative and absolute MSF for read command
2019-07-08 16:06:35 -04:00
Brad Parker
59d8b918a1
cdrom: store group timeouts
2019-07-06 20:16:47 -04:00
twinaphex
3ffc5fc343
(MSVC2017 UWP) Buildfix
2019-07-06 07:29:51 +02:00
Brad Parker
46ed5c3fcb
vfs: fix circular dependency issues by moving main structs to separate header
2019-07-05 23:45:48 -04:00
Brad Parker
d116784249
cdrom: go back to MSF read command, still having issues with LBA calculation
2019-07-05 11:09:11 -04:00
Brad Parker
e8d488ba67
cdrom: fix conflict with libchdr function names
2019-07-04 23:05:28 -04:00
Brad Parker
d0695fc428
cdrom: add LBA offset
2019-07-04 22:42:42 -04:00
Brad Parker
38d49136ce
cdrom: add function for reading via LBA numbers
2019-07-04 18:20:05 -04:00
twinaphex
35c2810d6e
(Xbox) Skip warnings
2019-07-04 20:18:33 +02:00
Brad Parker
052a8e48cf
cdrom: add extra debug functions, add function to check if media is inserted/ready
2019-07-04 00:22:16 -04:00
twinaphex
b14dfc2585
Revert "(UWP) Fix VFS"
...
This reverts commit 163ec0f979
.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979
(UWP) Fix VFS
2019-07-04 04:21:51 +02:00
Brad Parker
03d48ab2fd
cdrom: windows buildfix
2019-07-03 16:05:15 -04:00
Brad Parker
9a52595ce3
cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry
2019-07-03 14:19:32 -04:00
Brad Parker
1eba59a20c
cdrom: fix calculation of track length, add pregap to cuesheet
2019-07-02 00:12:00 -04:00
Brad Parker
9d5e91a6e5
cdrom: set default track to 1
2019-06-30 18:34:00 -04:00
Brad Parker
24bd43a53f
cdrom: improve position setting
2019-06-30 18:34:00 -04:00
Brad Parker
9617605371
cdrom: set optimal read speed
2019-06-30 18:34:00 -04:00
Brad Parker
e901f3d523
cdrom: only use cdrom function if it was compiled in
2019-06-30 18:34:00 -04:00
Brad Parker
8d2392e36c
cdrom: use correct seek function
2019-06-30 18:34:00 -04:00
Brad Parker
11f8361d15
unused variable
2019-06-30 18:34:00 -04:00
Brad Parker
02575ddf67
cdrom: fix printf warnings
2019-06-30 18:34:00 -04:00
Brad Parker
fa041e4040
cdrom: fix unused variable warnings if debug is off
2019-06-30 18:34:00 -04:00
Brad Parker
8f1b150806
cdrom: windows fixes, use starting address of current track for read/seeks
2019-06-30 18:34:00 -04:00
Brad Parker
12388e038a
cdrom: add flush for debug prints because they were never appearing, remove unused variables
2019-06-30 18:34:00 -04:00
Brad Parker
11106cc2a7
cdrom: linux buildfix
2019-06-30 18:34:00 -04:00
Brad Parker
07c0451b93
cdrom: add windows support
2019-06-30 18:34:00 -04:00
Brad Parker
93b81198c2
cdrom: increase retry time, use alternate method for reading sub-channel data (not all drives can read Q data from READ CD)
2019-06-30 18:34:00 -04:00
Brad Parker
8af3078966
track1 playback is working, redbook might have issues currently
2019-06-30 18:34:00 -04:00
Brad Parker
0ad77800d9
use memcpy instead of strlcpy, some cores request 1 byte at a time from the cuesheet
2019-06-30 18:34:00 -04:00
Brad Parker
08cd3a90f2
initial cdrom reading work
2019-06-30 18:33:59 -04:00
twinaphex
237e8c3d02
(VFS) Cleanup remove and rename impl. too so we get no more warnings
2019-05-22 22:36:38 +02:00
twinaphex
8eed2f0259
Refactor this again to make it cleaner
2019-05-22 22:24:23 +02:00
twinaphex
a57fb7fe51
Splitup retro_vfs_stat_impl - was becoming a big mess -
...
also add checking for empty string to beginning of function
for all codepaths
2019-05-22 22:19:00 +02:00
twinaphex
32f9b9ab9a
(PS4/ORBIS) Move path_is_directory code parts to VFS layer - hope I did
...
it right
2019-05-22 02:32:22 +02:00
twinaphex
0919cd9746
(Legacy Win32) Be more careful with retro_vfs_stat_impl
2019-05-06 03:00:51 +02:00
Ghabry
5faf6a124d
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:15:46 +02:00
Ghabry
c209b0b3d9
UWP: Improve IO performance by manually buffering short reads.
...
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Ghabry
4390317992
Revert "(UWP/WinRT)"
...
This reverts commit b43b3e2bb0
.
2019-04-27 15:01:01 +02:00
twinaphex
b43b3e2bb0
(UWP/WinRT)
...
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
twinaphex
cff92152db
(VFS UWP) Revert this back
2019-04-27 09:05:39 +02:00
twinaphex
5c3d340e01
(UTF) Small optimizations
2019-04-27 00:46:26 +02:00
twinaphex
d41827ec7e
(VFS implementation) Small cleanups
2019-04-26 05:53:59 +02:00
twinaphex
5e82940a08
(VFS) Reimplement path_mkdir_error
2019-04-24 17:41:02 +02:00
twinaphex
d6e9776ab8
(VFS) Small cleanups
2019-04-24 02:19:09 +02:00
twinaphex
f9f66a14b3
Simplify retro_vfs_mkdir_impl
2019-04-23 22:30:38 +02:00
twinaphex
b49577b65f
(UWP VFS) Code formatting cleanups
2019-04-07 22:45:35 +02:00
twinaphex
dd016c44c9
(UWP VFS) Code formatting cleanups
2019-04-07 21:58:10 +02:00
twinaphex
79ffb53ef2
(UWP VFS) Try to rewrite this - baby steps
2019-04-07 21:35:45 +02:00
twinaphex
e0cb900abe
(UWP VFS) Cleanups
2019-04-07 21:22:20 +02:00
Francisco Javier Trujillo Mata
8d1adbc6ee
Cleaning no needed functions and library
2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata
adf2743464
Implement CDFS and custom file descriptor support
2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata
27ab4ac78b
[PS2] Some audio improvements
2019-03-06 20:11:15 +01:00
Francisco Javier Trujillo Mata
6d2bba220f
[PS2] Improvements with the device detection and different folder to save config
2019-03-02 16:06:36 +01:00
Francisco Javier Trujillo Mata
43ff843757
[PS2] Now Files IO works for USBs and Hosts (net)
2019-02-28 14:19:16 +01:00
Francisco Javier Trujillo Mata
3ec2ec2e11
Fix load state issue
2019-02-26 23:48:37 +01:00
twinaphex
d1a831e6ec
(UWP) Buildfix
2019-02-11 23:15:11 +01:00
twinaphex
bd19958658
(libretro-common) Don't use RARCH_LOG inside libretro-common files
2019-02-07 05:45:25 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
twinaphex
1796d359c5
Don't use setvbuf for PSP too
2019-02-02 16:43:17 +01:00
Twinaphex
556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
...
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
orbea
cb602c190d
Some C89_BUILD fixes.
2019-01-20 14:03:42 -08:00
krzys-h
e5a2221eac
Make lambdas safer for multithreading
2019-01-19 12:13:16 +01:00
krzys-h
20cb84189e
Fix problems with UWP filesystem in Release builds
2019-01-19 12:04:55 +01:00
krzys-h
a116bb908e
(UWP) Support access through the file picker
2019-01-17 11:48:09 +01:00
krzys-h
c8510378dc
(UWP) Error if trying to use VFS on cores that don't support it
2019-01-17 11:08:05 +01:00
krzys-h
b7cc124070
(UWP) Base StorageFile implementation
2019-01-17 11:04:19 +01:00
twinaphex
b70683fa08
Buildfix
2019-01-17 09:14:34 +01:00
krzys-h
f011579c78
Fix memory leak when opening non-existent directories
2019-01-16 21:21:49 +01:00
krzys-h
e6fc4220fa
Revert "Revert "VFS v3: stat, mkdir, directory listings""
...
This reverts commit a549e28f01
.
2019-01-16 21:01:29 +01:00
Twinaphex
a549e28f01
Revert "VFS v3: stat, mkdir, directory listings"
2019-01-16 03:53:34 +01:00
krzys-h
4b2278688b
Unix buildfix for dirent_is_directory
2019-01-13 14:49:01 +01:00
krzys-h
109de0bebb
VFS v3: stat, mkdir, directory listings
2019-01-13 00:33:24 +01:00
twinaphex
9b801aee17
Buildfixes
2019-01-08 20:43:03 +01:00
twinaphex
6bd4d91038
Cleanups
2019-01-08 20:32:40 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2
2019-01-08 20:18:08 +01:00
psxdev
66ba53c79b
[ORBIS] Add vfs implementation for orbis
2019-01-03 21:23:44 +01:00
twinaphex
e53ac5b38b
(PS2) platform_ps2.c - style nits
2019-01-03 13:34:12 +01:00
Francisco Javier Trujillo Mata
1591bc2db2
Create Audio Driver from PS2
2019-01-03 13:16:27 +01:00
Francisco Javier Trujillo Mata
69ad3273b9
Disable use of `setvbuf` for the PS2
2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata
0880bd00b0
PS2 is compiling with null drivers
2018-11-09 22:40:50 +01:00
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 e23409926e
.
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