Commit Graph

162 Commits

Author SHA1 Message Date
twinaphex db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex 8928052863 (libretro-common) (VFS implementation) Cleanup 2019-09-18 02:23:25 +02:00
twinaphex 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex c3c4638b22 Replace some snprintf usage where not necessary 2019-09-17 05:49:54 +02:00
Twinaphex 29dc30fa48
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)" 2019-08-30 15:55:07 +02:00
Jamiras bcd61d7f9b add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-29 21:05:14 -06:00
twinaphex d6df17a154 Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
This reverts commit 1185433374.
2019-08-30 03:14:42 +02:00
Twinaphex 5a82c809dc
Merge pull request #9334 from Jamiras/psx_cheevos
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 13:48:42 +02:00
twinaphex 0a35a84c4d Prevent ASAN runtime error 2019-08-28 08:13:01 +02:00
twinaphex ca3a7aa654 Prevent ASAN runtime error 2019-08-28 07:44:13 +02:00
Jamiras 1185433374 add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-23 08:02:06 -06:00
Francisco Javier Trujillo Mata c987945b5e Apply some improvement preparing for new toolchain (#9330) 2019-08-19 20:36:15 +02:00
twinaphex 4df62acac4 Get rid of this check 2019-07-26 20:50:40 +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
twinaphex 3639614eba (VFS) Should fix CXX_BUILD 2019-07-10 23:10:20 +02: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
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 24bd43a53f cdrom: improve position setting 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 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 07c0451b93 cdrom: add windows support 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
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
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 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
orbea cb602c190d Some C89_BUILD fixes. 2019-01-20 14:03:42 -08: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