• Sam Lantinga's avatar
    Fixed crash - need to save and restore rbx around cpuid, since the compiler... · 604fbcb3
    Sam Lantinga authored
    Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0.
    
    I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404239
    604fbcb3
SDL_cpuinfo.c 15.1 KB