diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2023-05-01 19:13:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-01 19:13:21 -0400 |
| commit | c5aff7567927be4c0fa468614f545b886e09ffe6 (patch) | |
| tree | e151af3ce498ee946f3e17487b96213af2e79024 /ZAPD | |
| parent | 8019b35c1057da278c83a43b32ce97b769100009 (diff) | |
Fixed Vtx fs path string conversion on windows (#285)
Diffstat (limited to 'ZAPD')
| -rw-r--r-- | ZAPD/ZDisplayList.cpp | 2 |
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()); |
