aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/audio.cpp')
-rw-r--r--NorthstarDedicatedTest/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/audio.cpp b/NorthstarDedicatedTest/audio.cpp
index d56762e0..51b74af6 100644
--- a/NorthstarDedicatedTest/audio.cpp
+++ b/NorthstarDedicatedTest/audio.cpp
@@ -165,7 +165,7 @@ EventOverrideData::EventOverrideData(const std::string& data, const fs::path& pa
if (file.is_regular_file() && file.path().extension().string() == ".wav")
{
// Open the file.
- std::basic_ifstream<uint8_t> wavStream(file, std::ios::binary);
+ std::basic_ifstream<uint8_t> wavStream(file.path().string(), std::ios::binary);
if (wavStream.fail())
{