Skip to content

Commit

Permalink
Opening wavetable as binary
Browse files Browse the repository at this point in the history
Fixes #42
  • Loading branch information
stijnfrishert committed Dec 7, 2018
1 parent 4a660d6 commit a1653b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsdj_wavetable_import/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a1653b1

Please sign in to comment.