Commit 54185eda authored by ics's avatar ics
Browse files

Use version and time base constants for writing header

parent 31acf985
......@@ -61,8 +61,8 @@ std::string writeListModeContextToBinary(const ListModeContext & listModeContext
// Allocate the data.
uint32_t buffer[4 + boardSize];
buffer[0] = 1;
buffer[1] = 9;
buffer[0] = FORMAT_VERSION;
buffer[1] = TIME_BASE;
buffer[2] = listModeContext.nbEvents;
buffer[3] = boardSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment