mirror of
https://github.com/open-goal/jak-project
synced 2026-09-07 19:40:48 -04:00
macos: don't assume that all macOS major versions are simple numeric values (#3836)
Related to https://github.com/open-goal/launcher/pull/664 Likely Fixes https://github.com/open-goal/launcher/issues/663
This commit is contained in:
+2
-2
@@ -182,8 +182,8 @@ int main(int argc, char** argv) {
|
||||
// Check if we are on a modern enough version of macOS so that AVX can be
|
||||
// emulated via rosetta
|
||||
#ifdef __APPLE__
|
||||
auto macos_version = get_macos_version();
|
||||
if (macos_version < 15.0) {
|
||||
auto macos_major_version = get_macos_major_version();
|
||||
if (macos_major_version < 15.0) {
|
||||
lg::info(
|
||||
"Your CPU does not support AVX. But the newer version of Rosetta supports it, update to "
|
||||
"atleast Sequoia to run OpenGOAL!");
|
||||
|
||||
Reference in New Issue
Block a user