Skip to content

Commit 4eb7d33

Browse files
committed
Remove clock speed on 68k, both the sysenviron and Gestalt functions are broken on that architecture
1 parent 66957cd commit 4eb7d33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/detection/cpu.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ namespace detection
6565
break;
6666
}
6767

68+
#ifdef FOR_PPC
6869
int ver = os_version();
6970
if (ver >= 0x600)
7071
{
7172
clockSpeed();
7273
}
74+
#endif
7375
printf(" (ID: %d)", procType);
7476
}
7577
}

0 commit comments

Comments
 (0)