Commit Graph

233 Commits

Author SHA1 Message Date
twinaphex 9f44a4fcd9 Cleanups 2021-01-16 17:30:36 +01:00
GH Cao 19535330d2 [UWP] VFS: Use Win32 file APIs when possible 2021-01-07 00:14:21 +08:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
twinaphex a38bd6d71a (UWP) Buildfix 2020-10-28 19:16:27 +01:00
jdgleaver b431285819 (GEKKO) Remove trailing slash when calling retro_vfs_stat_impl() 2020-10-05 15:16:58 +01:00
jdgleaver 3c06a907ca Fix directory creation on GEKKO platforms when path contains a trailing slash 2020-10-05 10:59:55 +01:00
Justin Weiss fb9aa961b7 [3DS] Increase file buffer size and savestate chunk size 2020-09-09 18:29:47 -07:00
twinaphex 624a70f062 More strings being moved from heap to stack 2020-08-18 14:47:57 +02:00
twinaphex 216190b826 Clean up more string variables on heap - move to stack 2020-08-18 14:26:15 +02:00
twinaphex 4ee45304b0 More warning fixes 2020-08-01 18:14:48 +02:00
twinaphex 750140779c (libretro-common) Fix 2020-07-13 16:18:46 +02:00
twinaphex 3dafbb8487 (libretro-common) Use malloc 2020-06-28 06:52:02 +02:00
twinaphex 5783494e13 (libretro-common) Cleanups 2020-06-27 14:55:08 +02:00
twinaphex c3f8b7741c Add fallback paths for nbio_stdio.c 2020-06-27 14:07:41 +02:00
twinaphex c1275cc83d Cleanups 2020-06-27 13:58:15 +02:00
twinaphex b0b588a56a (VFS) Add fseeko/ftello support 2020-06-27 13:41:59 +02:00
twinaphex fa50695b89 Cleanups 2020-06-26 19:25:53 +02:00
twinaphex e727e85b1d Updates 2020-06-25 14:01:19 +02:00
twinaphex 198df77c29 Update 2020-06-24 20:18:06 +02:00
twinaphex 472bb775ee retro_vfs_file_open_impl - avoid two strlens at start 2020-06-24 20:17:09 +02:00
twinaphex 376b62e8fa Cut down on more unnecessary strlens 2020-05-24 17:25:52 +02:00
Francisco Javier Trujillo Mata 1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex 0aff65e77b Sync libretro-common 2020-05-19 15:22:00 +02:00
Vladimir Serbinenko 2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex 3b2ec53100 (libretro-common) Update 2020-01-08 04:26:49 +01:00
twinaphex 3a8f12dff3 Update libretro-common 2020-01-08 01:44:58 +01:00
twinaphex 02d1eeb400 (VFS UWP) Get rid of verbosity.h dependency 2020-01-08 00:28:30 +01:00
driver1998 aa19d5180b [UWP] Move RunAsync out of VFS implementation 2019-12-05 16:32:38 +08:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
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 a8232e6a2e don't try to build CUE file if media isn't available 2019-08-29 22:25:33 -06: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
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