213 Commits

Author SHA1 Message Date
libretroadmin
8d12918243 (libretro-common) Small cleanups - don't NULL-terminate string
if we pass it off to fill_pathname_join (or another function that
uses strlcpy under the hood)
2022-07-22 19:33:30 +02:00
libretroadmin
113b9e96d1 Miscellaneous cleanups to VFS layers:
* Indents
* Simplifications
2022-07-17 07:29:00 +02:00
OsirizX
c6d51fdb32 [ORBIS] Initial changes for PS4 2022-05-21 16:31:10 +02:00
tunip3
fc16da3440
remove copy perms as its inefficient as we can just directly assign the new acl and that works (#13926) 2022-05-11 19:16:04 +02:00
twinaphex
460f5e745d Silence some MSVC 2019 code analysis warnings 2022-03-05 14:39:56 +01:00
Francisco Javier Trujillo Mata
86b47b4859
[PSP] Update Retroarch to latest PSPDev status (#13544)
* Added newlib changes

* Add action to launch PPSSPP simulator

* Remove legacy config for the stack and heap

* Add pthread

* Simplify kernel_functions and improve references to HAVE_KERNEL_PRX

* Add some flags

* Improve audio init/deinit

* Improve exit by clicking home

* Add CI for PSP1

* Update PSP.yml
2022-01-25 03:50:18 +01:00
twinaphex
5241d3e5d6 Cleanups 2022-01-20 06:09:43 +01:00
tunip3
6c123dd078
Mitigate need for vfs cores on ntfs drives [UWP/XBOX] (#13368)
* make check for standard io by access rather than the just assuming based on path string

* add code to auto permissions so files can be accessed by non vfs cores
(no exfat or fat32 support yet)

* remove commit from macro because apparently it causes issues

Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-12-17 13:46:04 +01:00
tunip3
62528a483f
Fix roms over 4gb (approx) failing to load, improve copy times, fix scanning for playlists [UWP/XBOX] (#13348)
* Fix scanning for playlists

* Fix issues where games over 4gb (approx) would fail to load and also speed up loading times
2021-12-12 17:29:57 +01:00
tunip3
d75127e9c2
Fix issue where files over 2.5gb approx would fail to load on uwp/xbox (#13150)
* fix issue where files over 2.5 gb would fail to read

* fix issue where trying to get the file size on excessively large files would fail
2021-10-26 01:43:44 +02:00
Tunip3
be7d6832d3 strip out winrt storagefiles 2021-10-01 09:58:17 +01:00
Tunip3
d85919d0e3 delete functions that were commented out 2021-09-30 18:59:20 +01:00
Tunip3
9d25ba7ac5 reimplent vfs files without using storagefile 2021-09-25 17:44:25 +01:00
tunip3
895676430f
make dir stuff more like the normal win32 stuff (#13006)
Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-09-17 17:41:56 +02:00
jdgleaver
bae6f8e097
(vfs_implementation.c) Place 'memmap.h' include behind '#if defined(HAVE_MMAP)' guard (#13003) 2021-09-17 14:25:44 +02:00
tunip3
249e24fbe7
fix issues where provided paths could sometimes contain a double slash, this would cause issues as path formatting was disabled (#12999)
Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-09-15 21:44:58 +02:00
Tunip3
2991e82575 fix issue where it would fail to get a handle for a file as the path was too long 2021-09-12 20:26:09 +01:00
tunip3
5ae7bc2ce2
use findfirst file and manually get all items in a dir to reduce errors and increase access (#12947)
Co-authored-by: Tunip3 <tunip3@users.noreply.github.com>
2021-09-06 14:27:49 +02:00
Tunip3
bb0fe6c2d1 fix extraction issues 2021-08-26 23:18:42 +01:00
Tunip3
45a16fab1b clean up retro_vfs_file_open_impl 2021-08-25 23:12:29 +01:00
Tunip3
8396bd599d strip out unneeded uwp specific file io functions 2021-08-25 15:54:09 +01:00
Tunip3
4116cb6fa5 fix issue where filesizes where not returned properly, this fixes loading arcade dat files 2021-08-13 20:33:27 +01:00
Tunip3
a4017e69e4 fix cd based beetle cores 2021-08-10 17:24:31 +01:00
Tunip3
be1a768bca improve uwp fileio by using from app variants whereever possible 2021-07-31 04:36:08 +01:00
Ash Logan
a3be19214e vfs: Use 128k vbufs for Wii U
We have loads of RAM and large vbufs are *very* beneficial
2021-07-18 22:33:17 +10:00
twinaphex
46dcf1204e Revert "Backport tunip3 - replace win32 functions with UWP safe variants in UWP vfs driver"
This reverts commit 585af66b5c15b2b9e030d1f422ca3f02ac7f939d.
2021-06-27 05:39:48 +02:00
twinaphex
585af66b5c Backport tunip3 - replace win32 functions with UWP safe variants in UWP vfs driver 2021-06-23 18:45:07 +02:00
twinaphex
de88edf56c Fix header include now that defines/ files are in libretro-common 2021-05-19 16:47:40 +02:00
U-LAPTOP-0BS9KNOH\crystal
23acacf436 PSL1GHT salamander build fix 2021-05-19 00:31:09 +02:00
CrystalCT
96a1320977 Improved vfs implementation on PSL1GHT using lv2 functions 2021-03-15 08:38:34 +01:00
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