bump lus version (#2269)

* bump lus version

* Fixed StringHelper issues caused by the latest lus version

Co-authored-by: KiritoDv <kiritodev01@gmail.com>
This commit is contained in:
briaguya 2022-12-24 17:49:54 -05:00 committed by GitHub
parent 7768869251
commit 85bccab1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -221,7 +221,7 @@ void ZFile::ParseXML(tinyxml2::XMLElement* reader, const std::string& filename)
// Check for repeated attributes. // Check for repeated attributes.
if (offsetXml != nullptr) if (offsetXml != nullptr)
{ {
rawDataIndex = strtol(StringHelper::Split(offsetXml, "0x")[1].c_str(), NULL, 16); rawDataIndex = strtol(StringHelper::Split(std::string(offsetXml), "0x")[1].c_str(), NULL, 16);
if (offsetSet.find(offsetXml) != offsetSet.end()) if (offsetSet.find(offsetXml) != offsetSet.end())
{ {

@ -1 +1 @@
Subproject commit df3a6dd292c3fbed56969f17d9d018b44c8d2a46 Subproject commit b1c75c86e902e5036ee1d36afad1a35313988fe7

View File

@ -460,7 +460,7 @@ void InitSfxEditor() {
} }
extern "C" void SfxEditor_AddSequence(char *otrPath, uint16_t seqNum) { extern "C" void SfxEditor_AddSequence(char *otrPath, uint16_t seqNum) {
std::vector<std::string> splitName = StringHelper::Split(otrPath, "/"); std::vector<std::string> splitName = StringHelper::Split(std::string(otrPath), "/");
std::string fileName = splitName[splitName.size() - 1]; std::string fileName = splitName[splitName.size() - 1];
std::vector<std::string> splitFileName = StringHelper::Split(fileName, "_"); std::vector<std::string> splitFileName = StringHelper::Split(fileName, "_");
std::string sequenceName = splitFileName[0]; std::string sequenceName = splitFileName[0];