[VFS] Fix data fragment path for multi-file STFS.

This commit is contained in:
gibbed 2020-04-09 11:32:03 -05:00 committed by Rick Gibbed
parent ed04d96e67
commit 0d010a2e3d
1 changed files with 2 additions and 1 deletions

View File

@ -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));