Quellcode durchsuchen

Fixed Visual Studio 2010 build

Sam Lantinga vor 11 Jahren
Ursprung
Commit
454c4a019f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;