[VFS] Fix data fragment path for multi-file STFS.
This commit is contained in:
parent
ed04d96e67
commit
0d010a2e3d
|
@ -120,7 +120,8 @@ StfsContainerDevice::Error StfsContainerDevice::MapFiles() {
|
||||||
|
|
||||||
// If the STFS package is multi-file, it is an SVOD system. We need to map
|
// If the STFS package is multi-file, it is an SVOD system. We need to map
|
||||||
// the files in the .data folder and can discard the header.
|
// the files in the .data folder and can discard the header.
|
||||||
auto data_fragment_path = host_path_ / ".data";
|
auto data_fragment_path = host_path_;
|
||||||
|
data_fragment_path += ".data";
|
||||||
if (!std::filesystem::exists(data_fragment_path)) {
|
if (!std::filesystem::exists(data_fragment_path)) {
|
||||||
XELOGE("STFS container is multi-file, but path {} does not exist.",
|
XELOGE("STFS container is multi-file, but path {} does not exist.",
|
||||||
xe::path_to_utf8(data_fragment_path));
|
xe::path_to_utf8(data_fragment_path));
|
||||||
|
|
Loading…
Reference in New Issue