Merge pull request #17975 from Uukrull/coredump

This commit is contained in:
LibretroAdmin 2025-06-07 07:48:44 +02:00 committed by GitHub
commit 20c932e236
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -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)