AUDIO: Add endian FIXME to timdity code

This commit is contained in:
Max Horn 2011-12-12 16:27:20 +01:00
parent f485450758
commit fe79ce5038

View File

@ -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");