mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01: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
@ -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…
Reference in New Issue
Block a user