mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 16:09:43 +00:00
Fix creating archives in bsatool
This commit is contained in:
parent
575f43876b
commit
1bd388faf3
1 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,10 @@ int main(int argc, char** argv)
|
|||
|
||||
// Open file
|
||||
|
||||
// TODO: add a version argument for this mode after compressed BSA writing is a thing
|
||||
if (info.mode == "create")
|
||||
return call<Bsa::BSAFile>(info);
|
||||
|
||||
Bsa::BsaVersion bsaVersion = Bsa::BSAFile::detectVersion(info.filename);
|
||||
|
||||
switch (bsaVersion)
|
||||
|
|
Loading…
Reference in a new issue