summaryrefslogtreecommitdiff
path: root/ZAPD/ZDisplayList.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2023-05-01 19:13:21 -0400
committerGitHub <noreply@github.com>2023-05-01 19:13:21 -0400
commitc5aff7567927be4c0fa468614f545b886e09ffe6 (patch)
treee151af3ce498ee946f3e17487b96213af2e79024 /ZAPD/ZDisplayList.cpp
parent8019b35c1057da278c83a43b32ce97b769100009 (diff)
Fixed Vtx fs path string conversion on windows (#285)
Diffstat (limited to 'ZAPD/ZDisplayList.cpp')
-rw-r--r--ZAPD/ZDisplayList.cpp2
1 files changed, 1 insertions, 1 deletions
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());