Skip to content

Commit

Permalink
fix : fixed exefs_patches
Browse files Browse the repository at this point in the history
  • Loading branch information
PoloNX committed May 26, 2024
1 parent a34285d commit 0dd002e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/api/extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ bool extractEntry(const std::string& archiveFile, const std::string& outputDir,
if (std::string(entryName).find("romfs/") != std::string::npos) //romfs
outputFilePath = fmt::format("{}/contents/{}/{}", outputDir, tid, std::string(entryName).substr(std::string(entryName).find("romfs/")));
else if (std::string(entryName).find("exefs_patches/") != std::string::npos)//exefs_patches
outputFilePath = fmt::format("{}/exefs_patches/{}", outputDir, std::string(entryName).substr(std::string(entryName).find("exefs_patches/")));
outputFilePath = fmt::format("{}/{}", outputDir, std::string(entryName).substr(std::string(entryName).find("exefs_patches/")));
else //Exefs
outputFilePath = fmt::format("{}/contents/{}/{}", outputDir, tid, std::string(entryName).substr(std::string(entryName).find("exefs/")));

Expand Down

0 comments on commit 0dd002e

Please sign in to comment.