Always dump 16-bit little endian values for movie record.

This commit is contained in:
Themaister 2012-01-11 00:55:50 +01:00
parent 51ab2f2509
commit d00257382a

View File

@ -249,6 +249,7 @@ bool bsv_movie_get_input(bsv_movie_t *handle, int16_t *input)
void bsv_movie_set_input(bsv_movie_t *handle, int16_t input)
{
input = swap_if_big16(input);
fwrite(&input, sizeof(int16_t), 1, handle->file);
}