Eladash
88ba3c47c2
ELF.h: Avoid using seek operations
2024-02-16 10:42:57 +02:00
Megamouse
0d1fbfb755
VFS: Fix some potential .back() segfaults
2024-01-25 17:03:58 +01:00
Steveice10
3ef48cbdd5
rpcs3qt: Add macOS support to the updater.
2024-01-24 09:44:56 +01:00
Megamouse
50fcec63e0
fs: fix get_executable_dir
2024-01-21 00:11:16 +01:00
Megamouse
8edd7d54cf
fs: fix warning. fix size argument in report_fatal_error
2024-01-20 21:59:02 +01:00
Steveice10
9c354ee269
Utilities: Add support for portable user directory. ( #15064 )
2024-01-20 10:04:25 +02:00
Megamouse
3d974eed03
fs: move buf from stack to heap to silence VS warning
2024-01-14 06:40:35 +01:00
Megamouse
329b58c8cd
fs: remove duplicate to_utf8 function
2024-01-14 06:40:35 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00
Eladash
f60bdbaece
Savestates: Compressed state files
2023-11-27 12:36:17 +02:00
Eladash
66d01b688c
Savestates: Implement initial RAM ventilation system
2023-11-10 08:45:49 +02:00
Megamouse
6bc7d7c698
fs::utime: fallback to 01/01/1980 00:00:00 if the date is too low
2023-09-04 10:07:23 +03:00
Eladash
66b6bae596
Win32/File.cpp: Avoid potential race in concurrent writes
...
Uninitialized data is better than overwritten data. Affects SPU Cache (unprotected writes).
2023-09-02 12:31:11 +03:00
oltolm
bc40b61ef1
rename fs::stat to fs::get_stat
2023-07-25 12:15:08 +03:00
Eladash
9291e2777d
File.h: Implement fs::error::xdev
2023-07-21 12:27:35 +03:00
Eladash
eecadab387
Implement fs::file::get_id()
...
File descripor ID with 2 provided ways to compare between them:
1. is_mirror_of():
Test if identical:
For example: when LHS writes one byte to a file at X offset, RHS file be able to read that exact byte at X offset)
2. is_coherent_with():
Test if both files point to the same file:
For example: if a file descriptor pointing to the complete file exists and is being truncated to 0 bytes from non-
-zero size state: this has to affect both RHS and LHS files.
2023-07-17 08:09:09 +03:00
oltolm
0c94606fcf
Make compile with msvc, clang and gcc on Windows
2023-07-11 21:40:30 +03:00
brian218
cf4ae38699
sys_fs: Implemented get_normalized_path()
2023-06-25 09:08:20 +02:00
Eladash
09f83e48ff
fs: Add get_parent_dir_view
...
string view version of the argument path, use with care.
2023-06-24 12:00:04 +03:00
Eladash
bcbce5dd48
File.cpp: revert get_parent_dir change
2023-06-24 12:00:04 +03:00
Megamouse
635fed0427
fs/linux: fix potential copy_file issue
...
sendfile is meant to be run in a loop, since there is no guarantee that a single call copies all the data.
The current implementation may lead to corrupt files on linux.
2023-06-12 15:59:32 +03:00
brian218
a131a41874
Fixed a bug in fs::get_parent_dir()
2023-06-05 20:15:43 +02:00
brian218
6a570ae57e
sys_fs: Implemented sys_fs_mount(prot=1) read-only mounting & fixed up some operation and permission checks
2023-06-05 13:51:54 +03:00
Megamouse
92ae57c9ee
Windows: log more descriptive errors
2023-03-04 18:34:56 +01:00
Elad Ashkenazi
382a27cb2f
Allow to cancel dir size calculation ( #13134 )
2022-12-30 09:34:35 +01:00