all repos — mgba @ 846333ac9a67fd131b2b8f1b4e5ce935d9391b3a

mGBA Game Boy Advance Emulator

Qt: Actually fix build on MSVC
Vicki Pfau vi@endrift.com
Sat, 12 Dec 2020 01:57:52 -0800
commit

846333ac9a67fd131b2b8f1b4e5ce935d9391b3a

parent

715cdd751ca787766ee3f680d3a81df27f8f3bf0

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/platform/qt/ReportView.cppsrc/platform/qt/ReportView.cpp

@@ -417,7 +417,7 @@ if (s_cpuidMax == 0xFFFFFFFF) {

#ifdef _MSC_VER __cpuid(reinterpret_cast<int*>(regs), 0); s_cpuidMax = regs[0]; - __cpuid(reinterpret_cast<int*>(regs, 0x80000000); + __cpuid(reinterpret_cast<int*>(regs), 0x80000000); s_cpuidExtMax = regs[0]; #else s_cpuidMax = __get_cpuid_max(0, nullptr);