From a1653b121806a61e63d41dd335490a0b87718c12 Mon Sep 17 00:00:00 2001 From: Stijn Frishert Date: Fri, 7 Dec 2018 21:59:43 +0100 Subject: [PATCH] Opening wavetable as binary Fixes #42 --- lsdj_wavetable_import/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsdj_wavetable_import/main.cpp b/lsdj_wavetable_import/main.cpp index cd6f0f5..c17bae8 100644 --- a/lsdj_wavetable_import/main.cpp +++ b/lsdj_wavetable_import/main.cpp @@ -95,7 +95,7 @@ int apply(const std::string& projectName, const std::string& outputName, const s } // Load the wavetable file - std::ifstream wavetableStream(wavetablePath.string()); + std::ifstream wavetableStream(wavetablePath.string(), std::ios_base::binary); if (!wavetableStream.is_open()) { std::cerr << "Could not open " << wavetablePath.filename().string() << std::endl;