[Kernel] Added support for XFileDispositionInformation

This is set and used in 415607DD to overwrite savefile
This commit is contained in:
Gliniak
2024-08-16 20:40:53 +02:00
parent 49584ff664
commit 651fdc0344
4 changed files with 14 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ Entry::Entry(Device* device, Entry* parent, const std::string_view path)
allocation_size_(0),
create_timestamp_(0),
access_timestamp_(0),
write_timestamp_(0) {
write_timestamp_(0),
delete_on_close_(false) {
assert_not_null(device);
absolute_path_ = xe::utf8::join_guest_paths(device->mount_path(), path);
name_ = xe::utf8::find_name_from_guest_path(path);