Fix Recording file format
This commit is contained in:
+2
-1
@@ -184,7 +184,8 @@ PLUGIN_API void XPluginStop(void)
|
||||
serverThread.join();
|
||||
recordingThread.join();
|
||||
|
||||
std::ofstream out("Resources/plugins/GAConnector/flight.rec");
|
||||
std::ofstream out("Resources/plugins/GAConnector/flight.rec",
|
||||
std::fstream::binary);
|
||||
out.write(reinterpret_cast<const char *>(p.getBinaryData()),
|
||||
(std::streamsize)p.getBinaryLength());
|
||||
out.close();
|
||||
|
||||
Reference in New Issue
Block a user