diff --git a/src/mmx.cc b/src/mmx.cc index d469fd5..fdf467c 100644 --- a/src/mmx.cc +++ b/src/mmx.cc @@ -9,23 +9,7 @@ // 0x4E08A0 bool mmxIsSupported() { - int v1; - - // TODO: There are other ways to determine MMX using FLAGS register. - -#ifdef _WIN32 - __asm - { - mov eax, 1 - cpuid - and edx, 0x800000 - mov v1, edx - } -#else - v1 = 0; -#endif - - return v1 != 0; + return SDL_HasMMX() == SDL_TRUE; } // 0x4E0DB0