Browse Source

Fixed Visual Studio 2010 build

Sam Lantinga 10 years ago
parent
commit
454c4a019f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cpuinfo/SDL_cpuinfo.c

+ 1 - 1
src/cpuinfo/SDL_cpuinfo.c

@@ -253,7 +253,7 @@ CPU_OSSavesYMM(void)
     {
         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;