diff options
| m--------- | libultraship | 0 | ||||
| -rw-r--r-- | soh/soh/OTRGlobals.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/libultraship b/libultraship -Subproject d70fd7de2315388c9a99742fd6c634b2cd8be13 +Subproject f79b19a73293c572867eb816377d14c3dbded6e diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 405335738..6d025ab6f 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -872,7 +872,7 @@ OTRVersion ReadPortVersionFromOTR(std::string otrPath) { // Use a temporary archive instance to load the otr and read the version file auto archive = LUS::OtrArchive(otrPath); if (archive.Open()) { - auto t = archive.LoadFileRaw("portVersion"); + auto t = archive.LoadFile("portVersion", std::make_shared<LUS::ResourceInitData>()); if (t != nullptr && t->IsLoaded) { auto stream = std::make_shared<LUS::MemoryStream>(t->Buffer->data(), t->Buffer->size()); auto reader = std::make_shared<LUS::BinaryReader>(stream); |
