From c5aff7567927be4c0fa468614f545b886e09ffe6 Mon Sep 17 00:00:00 2001 From: Nicholas Estelami Date: Mon, 1 May 2023 19:13:21 -0400 Subject: Fixed Vtx fs path string conversion on windows (#285) --- ZAPD/ZDisplayList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ZAPD/ZDisplayList.cpp') diff --git a/ZAPD/ZDisplayList.cpp b/ZAPD/ZDisplayList.cpp index 50fd09f..a070ac5 100644 --- a/ZAPD/ZDisplayList.cpp +++ b/ZAPD/ZDisplayList.cpp @@ -1875,7 +1875,7 @@ void ZDisplayList::DeclareReferences(const std::string& prefix) vtxName = StringHelper::Sprintf("%sVtx_%06X", prefix.c_str(), vtxKeys[i]); auto filepath = Globals::Instance->outputPath / vtxName; - std::string incStr = StringHelper::Sprintf("%s.%s.inc", filepath.c_str(), "vtx"); + std::string incStr = StringHelper::Sprintf("%s.%s.inc", filepath.string().c_str(), "vtx"); Declaration* vtxDecl = parent->AddDeclarationIncludeArray( vtxKeys[i], incStr, item.size() * 16, "Vtx", vtxName, item.size()); -- cgit v1.2.3