aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/mt32
diff options
context:
space:
mode:
authorJerome Fisher2004-11-19 01:39:16 +0000
committerJerome Fisher2004-11-19 01:39:16 +0000
commitea79c9c5e77c01d0b81174ae8f60029775a3e718 (patch)
tree028ee686e14f64bf83a26e1de53ec679171d017e /backends/midi/mt32
parentf93078209826a4bcc04cf226040e78a9bacbba7a (diff)
downloadscummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.tar.gz
scummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.tar.bz2
scummvm-rg350-ea79c9c5e77c01d0b81174ae8f60029775a3e718.zip
- Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, which don't seem to be supported).
svn-id: r15830
Diffstat (limited to 'backends/midi/mt32')
-rw-r--r--backends/midi/mt32/mt32emu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/midi/mt32/mt32emu.h b/backends/midi/mt32/mt32emu.h
index 007e9cdc16..48c3d903fd 100644
--- a/backends/midi/mt32/mt32emu.h
+++ b/backends/midi/mt32/mt32emu.h
@@ -46,8 +46,12 @@
// This calculates the exact frequencies of notes as they are played, instead of offsetting from pre-cached semitones. Potentially very slow.
#define MT32EMU_ACCURATENOTES 0
-#if (defined (_MSC_VER) && defined(_M_IX86)) || (defined(__GNUC__) && defined(__i386__))
+#if (defined (_MSC_VER) && defined(_M_IX86))
#define MT32EMU_HAVE_X86
+#elif defined(__GNUC__)
+#if __GNUC__ >= 3 && defined(__i386__)
+#define MT32EMU_HAVE_X86
+#endif
#endif
#ifdef MT32EMU_HAVE_X86