diff options
author | Max Horn | 2011-12-12 16:27:20 +0100 |
---|---|---|
committer | Max Horn | 2011-12-12 16:27:41 +0100 |
commit | fe79ce5038bd90b3aebd8d94644a3d1e1910c800 (patch) | |
tree | 0acee3a53a0d203cafa979908f36bb81b6ab8199 /backends/midi | |
parent | f485450758ffa37c789beb6bd038782dec8d97ad (diff) | |
download | scummvm-rg350-fe79ce5038bd90b3aebd8d94644a3d1e1910c800.tar.gz scummvm-rg350-fe79ce5038bd90b3aebd8d94644a3d1e1910c800.tar.bz2 scummvm-rg350-fe79ce5038bd90b3aebd8d94644a3d1e1910c800.zip |
AUDIO: Add endian FIXME to timdity code
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/timidity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |