mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Work around a crash on startup on current versions of KDE on Linux.
https://bugs.kde.org/show_bug.cgi?id=401637
This commit is contained in:
parent
56011cbddd
commit
f342f4b826
1 changed files with 2 additions and 0 deletions
|
@ -118,6 +118,8 @@ int main(int argc, char** argv)
|
||||||
rlim.rlim_max = 4096;
|
rlim.rlim_max = 4096;
|
||||||
if (::setrlimit(RLIMIT_NOFILE, &rlim) != 0)
|
if (::setrlimit(RLIMIT_NOFILE, &rlim) != 0)
|
||||||
std::fprintf(stderr, "Failed to set max open file limit (4096).");
|
std::fprintf(stderr, "Failed to set max open file limit (4096).");
|
||||||
|
// Work around crash on startup on KDE: https://bugs.kde.org/show_bug.cgi?id=401637
|
||||||
|
setenv( "KDE_DEBUG", "1", 0 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
s_init.unlock();
|
s_init.unlock();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue