From d00257382ac5604076a629419d500319980032bc Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 11 Jan 2012 00:55:50 +0100 Subject: [PATCH] Always dump 16-bit little endian values for movie record. --- movie.c | 1 + 1 file changed, 1 insertion(+) diff --git a/movie.c b/movie.c index 41b6257859..8920df5a71 100644 --- a/movie.c +++ b/movie.c @@ -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); }