changeset 3160:80df2986ca42

{f}emms is only needed on x86
author jkeil
date Tue, 27 Nov 2001 16:55:12 +0000
parents b8e7c71f4fcb
children 950496933384
files dec_video.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dec_video.c	Tue Nov 27 16:50:34 2001 +0000
+++ b/dec_video.c	Tue Nov 27 16:55:12 2001 +0000
@@ -808,6 +808,7 @@
 } // switch
 //------------------------ frame decoded. --------------------
 
+#ifdef ARCH_X86
 	// some codecs is broken, and doesn't restore MMX state :(
 	// it happens usually with broken/damaged files.
 if(gCpuCaps.has3DNow){
@@ -816,6 +817,7 @@
 else if(gCpuCaps.hasMMX){
 	__asm __volatile ("emms\n\t":::"memory");
 }
+#endif
 
 t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;