Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Source/Core/Common/x64CPUDetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ static u64 _xgetbv_fix(u32 index)
return ((u64)edx << 32) | eax;
}

#else
// Define _xgetbv_fix for windows
static u64 _xgetbv_fix(u32 index)
{
return _xgetbv(index)
}
#endif // ifndef _WIN32

CPUInfo cpu_info;
Expand Down