summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2026-05-07 15:46:47 -0500
committerGitHub <noreply@github.com>2026-05-07 15:46:47 -0500
commit41ffb25c03956d1c6619c284e821611e70bcc307 (patch)
tree9d50855aea01cf625419fd726bf038f017e17af5 /src/shared
parent9c6f48a4409626b7c9ff04cabeb6a4542e1df736 (diff)
Use filesystem paths with BSATK input / output (#2391)
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/directoryentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp
index 6351083b..67c13e54 100644
--- a/src/shared/directoryentry.cpp
+++ b/src/shared/directoryentry.cpp
@@ -215,7 +215,7 @@ void DirectoryEntry::addFromBSA(const std::wstring& originName,
try {
// read() can return an error, but it can also throw if the file is not a
// valid bsa
- res = archive.read(ToString(archivePath, false).c_str(), false);
+ res = archive.read(archivePath, false);
} catch (std::exception& e) {
log::error("invalid bsa '{}', error {}", archivePath, e.what());
return;