From 0d010a2e3d659b0f220dd9218cf7cbb27bb60290 Mon Sep 17 00:00:00 2001 From: gibbed Date: Thu, 9 Apr 2020 11:32:03 -0500 Subject: [PATCH] [VFS] Fix data fragment path for multi-file STFS. --- src/xenia/vfs/devices/stfs_container_device.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/vfs/devices/stfs_container_device.cc b/src/xenia/vfs/devices/stfs_container_device.cc index c258f4c32..d50c5a231 100644 --- a/src/xenia/vfs/devices/stfs_container_device.cc +++ b/src/xenia/vfs/devices/stfs_container_device.cc @@ -120,7 +120,8 @@ StfsContainerDevice::Error StfsContainerDevice::MapFiles() { // 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. - auto data_fragment_path = host_path_ / ".data"; + auto data_fragment_path = host_path_; + data_fragment_path += ".data"; if (!std::filesystem::exists(data_fragment_path)) { XELOGE("STFS container is multi-file, but path {} does not exist.", xe::path_to_utf8(data_fragment_path));