mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Add escape hatch if rarch (or the core) is in an infinite loop.
This commit is contained in:
parent
04ac09f579
commit
7a6463a300
@ -172,6 +172,7 @@ void egl_get_video_size(void *data, unsigned *width, unsigned *height)
|
||||
static void egl_sighandler(int sig)
|
||||
{
|
||||
(void)sig;
|
||||
if (g_egl_quit) exit(1);
|
||||
g_egl_quit = 1;
|
||||
}
|
||||
|
||||
|
@ -504,6 +504,7 @@ bool x11_has_focus(void *data)
|
||||
static void x11_sighandler(int sig)
|
||||
{
|
||||
(void)sig;
|
||||
if (g_x11_quit) exit(1);
|
||||
g_x11_quit = 1;
|
||||
}
|
||||
|
||||
|
@ -91,6 +91,7 @@ struct drm_fb
|
||||
static void drm_sighandler(int sig)
|
||||
{
|
||||
(void)sig;
|
||||
if (drm_quit) exit(1);
|
||||
drm_quit = 1;
|
||||
}
|
||||
|
||||
|
@ -83,6 +83,7 @@ static enum gfx_ctx_api wl_api;
|
||||
static void wl_sighandler(int sig)
|
||||
{
|
||||
(void)sig;
|
||||
if (wl_quit) exit(1);
|
||||
wl_quit = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user