mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
Fix creating archives in bsatool
This commit is contained in:
parent
575f43876b
commit
1bd388faf3
@ -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…
x
Reference in New Issue
Block a user