CPUID: Fix MIDR walking in SetupHostHybridFlag()

This commit is contained in:
LC committed 2026-07-10 05:46:16 -04:00
1 parent 77467eaf0c
commit 849d60253c
1 file changed
+1 -2
+1 -2
View File
@@ -316,9 +316,8 @@ void CPUIDEmu::SetupHostHybridFlag() {
// Walk our list of CPUMIDRs to find the most little core
for (size_t j = LowestMIDRIdx; j < CPUMIDRs.size(); ++j) {
auto& MIDROption = CPUMIDRs[i];
const auto& MIDROption = CPUMIDRs[j];
if ((MIDROption.Implementer == Implementer && MIDROption.Part == Part) || (MIDROption.Implementer == 0 && MIDROption.Part == 0)) {
LowestMIDRIdx = j;
LowestMIDR = MIDR;
break;