mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 12:08:12 +00:00
Improve macOS < 14.3 Rosetta blocker message (#15258)
This commit is contained in:
parent
eecfbf3fa6
commit
df4fc947ec
@ -527,9 +527,12 @@ int main(int argc, char** argv)
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
if ((Darwin_Version::getNSmajorVersion() == 14 && Darwin_Version::getNSminorVersion() < 3) && (utils::get_cpu_brand().rfind("VirtualApple", 0) == 0))
|
||||
const int osx_ver_major = Darwin_Version::getNSmajorVersion();
|
||||
const int osx_ver_minor = Darwin_Version::getNSminorVersion();
|
||||
if ((osx_ver_major == 14 && osx_ver_minor < 3) && (utils::get_cpu_brand().rfind("VirtualApple", 0) == 0))
|
||||
{
|
||||
report_fatal_error("Unsupported Rosetta version.\nPlease update macOS to a supported version.");
|
||||
int osx_ver_patch = Darwin_Version::getNSpatchVersion();
|
||||
report_fatal_error(fmt::format("RPCS3 requires macOS 14.3.0 or later.\nYou're currently using macOS %i.%i.%i.\nPlease update macOS from System Settings.\n\n", osx_ver_major, osx_ver_minor, osx_ver_patch));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user