Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Nov 14, 2024
1 parent 74540ee commit 892d053
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vm_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ int CPU_Flags = 0;

static void CPUID( int func, unsigned int *regs )
{
#if _MSC_VER >= 1400
#if defined(_M_ARM64) || defined(_M_ARM)
regs[0] = regs[1] = regs[2] = regs[3] = 0;
#elif _MSC_VER >= 1400
__cpuid( regs, func );
#else
__asm {
Expand Down

0 comments on commit 892d053

Please sign in to comment.