diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-07 02:49:47 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-07 02:49:47 +0000 |
commit | b6a5b5fca9b2315cdf8f26f10f9399b873964c9f (patch) | |
tree | 1ab1bce328c0b9737defb80706c63b8d9cf641f7 /NorthstarDedicatedTest/keyvalues.cpp | |
parent | 365191707407566841c1e37935619d260a4f67a7 (diff) | |
download | NorthstarLauncher-b6a5b5fca9b2315cdf8f26f10f9399b873964c9f.tar.gz NorthstarLauncher-b6a5b5fca9b2315cdf8f26f10f9399b873964c9f.zip |
early pdiff support and vpk file compilation newline fix
Diffstat (limited to 'NorthstarDedicatedTest/keyvalues.cpp')
-rw-r--r-- | NorthstarDedicatedTest/keyvalues.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/keyvalues.cpp b/NorthstarDedicatedTest/keyvalues.cpp index cada5cbe..6de93822 100644 --- a/NorthstarDedicatedTest/keyvalues.cpp +++ b/NorthstarDedicatedTest/keyvalues.cpp @@ -113,11 +113,11 @@ void ModManager::TryBuildKeyValues(const char* filename) newKvs += rootName; newKvs += "\n{\n}\n"; - std::ofstream originalFileWriteStream(compiledDir / ogFilePath); + std::ofstream originalFileWriteStream(compiledDir / ogFilePath, std::ios::binary); originalFileWriteStream << originalFile; originalFileWriteStream.close(); - std::ofstream writeStream(compiledPath); + std::ofstream writeStream(compiledPath, std::ios::binary); writeStream << newKvs; writeStream.close(); |