57 Commits

Author SHA1 Message Date
LibretroAdmin
047e04ed3e Standardize local len variable naming conventions 2025-01-15 15:00:12 +01:00
Viačasłaŭ
3019b926c2
Fix typos (#17068) 2024-10-01 17:36:33 -07:00
libretroadmin
daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
LibretroAdmin
4251eb5f61 Turn uwp_mkdir_impl function static 2022-09-30 17:50:07 +02:00
LibretroAdmin
ab39c6c2c8 * VFS:
- Simplify retro_vfs_file_seek_impl
- Some cleanups of vfs_implementation_uwp.cpp - backport some of the
improvements made to the non-UWP version
2022-09-03 01:42:57 +02:00
libretroadmin
113b9e96d1 Miscellaneous cleanups to VFS layers:
* Indents
* Simplifications
2022-07-17 07:29:00 +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
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
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
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
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
a38bd6d71a (UWP) Buildfix 2020-10-28 19:16:27 +01: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
e727e85b1d Updates 2020-06-25 14:01:19 +02:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +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
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
twinaphex
b14dfc2585 Revert "(UWP) Fix VFS"
This reverts commit 163ec0f979c6a1a4d354efaf7618eda8cf440109.
2019-07-04 04:40:13 +02:00
twinaphex
163ec0f979 (UWP) Fix VFS 2019-07-04 04:21: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 b43b3e2bb0554ca92db204855692d9a74332cfda.
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
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