From fe79ce5038bd90b3aebd8d94644a3d1e1910c800 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 12 Dec 2011 16:27:20 +0100 Subject: AUDIO: Add endian FIXME to timdity code --- backends/midi/timidity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends/midi') diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index 87cd08659c..172d31e799 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -197,6 +197,8 @@ int MidiDriver_TIMIDITY::open() { /* should read something like "200 63017 is ready acceptable", * where 63017 is port for data connection */ + // FIXME: The following looks like a cheap endian test. If this is true, then + // it should be replaced by suitable #ifdef SCUMM_LITTLE_ENDIAN. i = 1; if (*(char *)&i == 1) res = timidity_ctl_command("OPEN lsb"); -- cgit v1.2.3