Skip to content

Commit df4fc94

Browse files
authored
Improve macOS < 14.3 Rosetta blocker message (#15258)
1 parent eecfbf3 commit df4fc94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

rpcs3/main.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,12 @@ int main(int argc, char** argv)
527527
#endif
528528

529529
#ifdef __APPLE__
530-
if ((Darwin_Version::getNSmajorVersion() == 14 && Darwin_Version::getNSminorVersion() < 3) && (utils::get_cpu_brand().rfind("VirtualApple", 0) == 0))
530+
const int osx_ver_major = Darwin_Version::getNSmajorVersion();
531+
const int osx_ver_minor = Darwin_Version::getNSminorVersion();
532+
if ((osx_ver_major == 14 && osx_ver_minor < 3) && (utils::get_cpu_brand().rfind("VirtualApple", 0) == 0))
531533
{
532-
report_fatal_error("Unsupported Rosetta version.\nPlease update macOS to a supported version.");
534+
int osx_ver_patch = Darwin_Version::getNSpatchVersion();
535+
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));
533536
}
534537
#endif
535538

0 commit comments

Comments
 (0)