gibbed
ed04d96e67
Avoid using '#' format spec for X hex numbers.
...
Avoid using '#' format spec for X (uppercase) hex numbers, as it
results in output like "0XABCDEF" instead of "0xABCDEF".
2020-04-09 11:25:08 -05:00
Sandy Carter
fc5153bca1
filesystem: use std for DeleteFile
...
Remove custom platform implementation of `DeleteFile` and replace single
use with `std::filesystem::remove` after a negative
`std::filesystem::is_directory` check.
2020-04-09 09:44:48 -05:00
Sandy Carter
df65de231f
filesystem: use std for DeleteFolder
...
Remove custom platform implementation of `DeleteFolder` and replace two
uses with `std::filesystem::remove_all` which removes a file or
directory with all its contents.
2020-04-09 09:44:48 -05:00
Sandy Carter
69bcf59c79
filesystem: use std for CreateFolder
...
Remove custom platform implementation of `CreateFolder` and replace uses
with `std::filesystem::create_directories` which creates paths
recursively.
2020-04-09 09:44:48 -05:00
Sandy Carter
c8e64da4eb
filesystem: use std for PathExists
...
Remove custom platform implementation of `PathExists` and replace uses
with `std::filesystem::exists`.
2020-04-09 09:44:48 -05:00
Sandy Carter
a9fa38c88b
filesystem: use std for IsFolder
...
Remove custom platform implementation of IsFolder and replace
single use with `std::filesystem::is_directory`.
2020-04-09 09:44:48 -05:00
gibbed
a48bb71c2f
Overhaul logging.
2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445
C++17ification.
...
C++17ification!
- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
Triang3l
cde092ece1
[D3D12] Persistent shader and PSO storage
2020-03-21 19:22:19 +03:00
Silent
96a9397349
[Base] Remove MAX_PATH limit from GetUserFolder
...
Replace SHGetFolderPath with SHGetKnownFolderPath to remove the limit
2020-02-09 14:01:39 -06:00
gibbed
9a8d77137c
[Base] Fix Windows CreateFolder so it creates the entire path properly.
2019-07-18 17:47:25 -05:00
Rick Gibbed
9bb20bfc36
Merge pull request #1254 from Wildenhaus/master
...
Games on Demand / Multi-file STFS (SVOD) support.
2019-05-04 11:30:48 -05:00
gibbed
1ba5dd5eb1
Use platform-specific user directory to store content. Create a file named portable.txt next to xenia.exe to restore previous behavior.
2018-11-21 18:07:45 -06:00
Wildhaus
19fb21da7d
Games on Demand / Multifile STFS (SVOD) Support
2018-11-11 15:27:29 -05:00
gibbed
bc369e43cb
[Kernel] Add support for XFileEndOfFileInformation.
2018-05-23 04:24:37 -05:00
gibbed
ac7dce758b
Fixed xe::filesystem::DeleteFolder on Windows. Should fix some issues where games tried to overwrite existing content such as saves and was failing.
2017-01-09 17:05:05 -06:00
gibbed
23b72e4888
Complain loudly when ReadFile() returns ERROR_NOACCESS.
2016-06-18 18:26:23 -05:00
Ben Vanik
76ed07cfff
Adding back FILE_FLAG_BACKUP_SEMANTICS.
2015-12-30 09:19:54 -08:00
Dr. Chat
62351a62de
filesystem::CreateFile
2015-12-29 12:35:55 -08:00
Ben Vanik
5019f1aa98
Possible fix for failing to create files.
2015-12-29 11:02:28 -08:00
Ben Vanik
e6461f326c
Some xb style cleanup.
2015-08-05 22:06:20 -07:00
Ben Vanik
42400d06a9
Making stateless file IO platform-agnostic.
2015-07-15 18:01:09 -07:00
Ben Vanik
72ad899e9e
Starting to remove windows.h includes from things.
2015-07-13 20:49:29 -07:00
Ben Vanik
dec0d12cc9
Replacing includes of windows headers with base/platform.h.
2015-07-01 09:02:04 -07:00
Ben Vanik
cc08e9019a
Move NtCreateFile/NtOpenFile to VFS, implement (mostly) for real.
...
Progress on #305 .
2015-06-29 10:33:36 -07:00
Ben Vanik
1106029afc
_wfopen -> xe::filesystem::OpenFile.
...
Progress on #305 .
2015-06-28 17:33:46 -07:00
Ben Vanik
30e0c6dbb1
Support --target=path to stfs root.
...
Fixes #302 .
2015-06-28 15:28:04 -07:00
Ben Vanik
83872d8e8f
Refactoring vfs to remove a lot of duplicated code.
...
Progress on #294 .
2015-06-27 22:37:49 -07:00
Ben Vanik
0716cf84c0
Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
...
Progress on #294 .
2015-06-27 13:31:21 -07:00