Remove unused `kernel32` import

This commit is contained in:
YoshiRulz 2023-04-09 07:56:55 +10:00
parent e06d32c70a
commit 8ef8d4efb9
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 0 additions and 24 deletions

View File

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