mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
CPUID: Fix MIDR walking in SetupHostHybridFlag()
This commit is contained in:
1 parent
77467eaf0c
commit
849d60253c
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user