using System.Runtime.InteropServices;
namespace BizHawk.Common
{
/// used by commented-out code in LibretroApi ctor, don't delete
public static class ProcessorFeatureImports
{
[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool IsProcessorFeaturePresent(ProcessorFeature processorFeature);
public enum ProcessorFeature : uint
{
/// The MMX instruction set is available
InstructionsMMXAvailable = 3,
/// The SSE instruction set is available
InstructionsXMMIAvailable = 6,
/// The SSE2 instruction set is available
InstructionsXMMI64Available = 10,
/// The SSE3 instruction set is available. (This feature is not supported until Windows Vista)
InstructionsSSE3Available = 13
}
}
}