Explorar o código

Fixed Visual Studio 2010 build

Sam Lantinga %!s(int64=11) %!d(string=hai) anos
pai
achega
454c4a019f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;