Merge pull request #17975 from Uukrull/coredump
This commit is contained in:
commit
20c932e236
|
@ -49,6 +49,10 @@
|
|||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#if defined(WEBOS)
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -5893,6 +5897,11 @@ int rarch_main(int argc, char *argv[], void *data)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(WEBOS)
|
||||
struct rlimit limit = {0, 0};
|
||||
setrlimit(RLIMIT_CORE, &limit);
|
||||
#endif
|
||||
|
||||
rtime_init();
|
||||
|
||||
#if defined(ANDROID)
|
||||
|
|
Loading…
Reference in New Issue