Skip to content

Commit

Permalink
fix: FS Subsystem path change
Browse files Browse the repository at this point in the history
  • Loading branch information
Panakotta00 committed Oct 25, 2024
1 parent d46f9a9 commit 23d0134
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ TSharedPtr<CodersFileSystem::Device> AFINFileSystemSubsystem::GetDevice(const FG
fsp = FPaths::Combine( FPlatformProcess::UserSettingsDir(), FApp::GetProjectName(), TEXT( "Saved/" ) TEXT( "SaveGames/" ) );
}

fsp = FPaths::Combine(fsp, "Computers", FileSystemID.ToString());

// get root fs path
std::filesystem::path root = std::filesystem::absolute(*fsp);
root = root / std::filesystem::path(std::string("Computers")) / std::filesystem::path(TCHAR_TO_UTF8(*FileSystemID.ToString()));

std::filesystem::create_directories(root);

Expand Down

0 comments on commit 23d0134

Please sign in to comment.