Fixed Visual Studio 2010 build
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Jul 2014 22:15:34 -0700
changeset 9005 ef3ef3c8da98
parent 9004 51bc44d49052
child 9006 98c808d72e20
Fixed Visual Studio 2010 build
src/cpuinfo/SDL_cpuinfo.c
--- a/src/cpuinfo/SDL_cpuinfo.c	Fri Jul 11 22:14:14 2014 -0700
+++ b/src/cpuinfo/SDL_cpuinfo.c	Fri Jul 11 22:15:34 2014 -0700
@@ -253,7 +253,7 @@
     {
         xor ecx, ecx
         _asm _emit 0x0f _asm _emit 0x01 _asm _emit 0xd0
-        mov a, xcr0
+        mov a, eax
     }
 #endif
     return ((a & 6) == 6) ? SDL_TRUE : SDL_FALSE;