[Scummvm-cvs-logs] CVS: scummvm/backends/midi/mt32 mt32emu.h,1.6,1.7
Jerome Fisher
kingguppy at users.sourceforge.net
Thu Nov 18 17:40:04 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga saga.cpp,1.58,1.59
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.25,1.26 game_mod.h,1.10,1.11 ihnm_introproc.cpp,1.20,1.21 music.cpp,1.31,1.32 music.h,1.13,1.14 saga.cpp,1.59,1.60 scene.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/midi/mt32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11605
Modified Files:
mt32emu.h
Log Message:
- Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, which don't seem to be supported).
Index: mt32emu.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/mt32/mt32emu.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mt32emu.h 14 Nov 2004 14:58:39 -0000 1.6
+++ mt32emu.h 19 Nov 2004 01:39:16 -0000 1.7
@@ -46,9 +46,13 @@
// 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
#define MT32EMU_USE_MMX 1
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga saga.cpp,1.58,1.59
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.25,1.26 game_mod.h,1.10,1.11 ihnm_introproc.cpp,1.20,1.21 music.cpp,1.31,1.32 music.h,1.13,1.14 saga.cpp,1.59,1.60 scene.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list