xenia-canary/src/xenia/vfs
emoose 55ce179ff2 [VFS] Use SectorsPerCluster provided by game for cache drive.
This fixes some games (eg. Halo: CEA) not mounting cache.
It seems some games use different SectorsPerClusters values, which then changes the value it expects from NtQueryVolumeInformationFile.
Since we'd always respond with a static value this would make the game think that mounting failed, and it'd bail out of the cache-mounting code.

Now we capture the SectorsPerCluster value when the game writes it to the cache-partition header, and update the NullDevice's sectors_per_allocation_unit with it.
2020-01-20 03:48:28 -05:00
..
devices [VFS] Use SectorsPerCluster provided by game for cache drive. 2020-01-20 03:48:28 -05:00
device.cc [VFS] Make ResolvePath / Dump virtual 2018-05-26 18:51:03 -05:00
device.h [VFS] Make ResolvePath argument a const reference. 2019-07-29 16:04:25 -05:00
entry.cc DANGER DANGER. Switching to global critical region. 2015-09-06 09:30:54 -07:00
entry.h [Kernel/VFS] Ensure vfs::Entry is up-to-date before retrieving file information 2019-08-21 02:00:57 -05:00
file.h [Kernel] Add support for XFileEndOfFileInformation. 2018-05-23 04:24:37 -05:00
premake5.lua Get rid of gflags alltogether 2019-08-03 02:34:19 +02:00
vfs_dump.cc Fix up handling of positional options in cvar handling. 2019-08-24 07:41:55 -05:00
virtual_file_system.cc [VFS] more logging for resolving files 2019-12-28 23:21:58 -05:00
virtual_file_system.h Merge cleanup and fixes 2019-09-05 08:23:43 -04:00