mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Run platform sanity checks after creating the log and log windows path
This commit is contained in:
parent
9db68e7d39
commit
b76fd38854
6 changed files with 107 additions and 85 deletions
|
|
@ -491,9 +491,6 @@ int main(int argc, char** argv)
|
|||
report_fatal_error(error);
|
||||
}
|
||||
|
||||
// Before we proceed, run some sanity checks
|
||||
run_platform_sanity_checks();
|
||||
|
||||
const std::string lock_name = fs::get_cache_dir() + "RPCS3.buf";
|
||||
|
||||
static fs::file instance_lock;
|
||||
|
|
@ -546,7 +543,7 @@ int main(int argc, char** argv)
|
|||
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))
|
||||
{
|
||||
int osx_ver_patch = Darwin_Version::getNSpatchVersion();
|
||||
const 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
|
||||
|
|
@ -612,6 +609,9 @@ int main(int argc, char** argv)
|
|||
}
|
||||
sys_log.notice("argc: %d, argv: %s", argc, argument_str);
|
||||
|
||||
// Before we proceed, run some sanity checks
|
||||
run_platform_sanity_checks();
|
||||
|
||||
#ifdef __linux__
|
||||
struct ::rlimit rlim;
|
||||
rlim.rlim_cur = 4096;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue