From 11a47922ff28ebd43efb67fbaac62b5c58203e8c Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 9 Jan 2022 17:16:32 -0800 Subject: [PATCH] Fix VISI being broken --- DataSpec/DNAMP1/MREA.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/DataSpec/DNAMP1/MREA.cpp b/DataSpec/DNAMP1/MREA.cpp index 46636f73a..d3ab74930 100644 --- a/DataSpec/DNAMP1/MREA.cpp +++ b/DataSpec/DNAMP1/MREA.cpp @@ -651,11 +651,16 @@ bool MREA::Cook(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPat secs.emplace_back(preVisiLen, 0); memcpy(secs.back().data(), preVisiData.get(), preVisiLen); visiGood = true; + } else { + // TODO: Fix visigen and remove this hack + secs.emplace_back(preVisiLen, 0); + memcpy(secs.back().data(), preVisiData.get(), preVisiLen); + visiGood = true; } } } - visiGood = true; - +// TODO: fix visigen so this can be re-enabled +#if 0 #if !WINDOWS_STORE if (!visiGood) { hecl::ProjectPath visiIntOut = outPath.getWithExtension(".visiint"); @@ -723,6 +728,7 @@ bool MREA::Cook(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPat Log.report(logvisor::Fatal, FMT_STRING("Unable to launch {}"), VisiGenPath); } } +#endif #endif } }