diff --git a/gfx/common/x11_common.h b/gfx/common/x11_common.h index 6e2b3b06bb..17a775a34c 100644 --- a/gfx/common/x11_common.h +++ b/gfx/common/x11_common.h @@ -51,7 +51,7 @@ bool x11_get_metrics(void *data, float x11_get_refresh_rate(void *data); void x11_check_window(void *data, bool *quit, - bool *resize, unsigned *width, unsigned *height, bool is_shutdown); + bool *resize, unsigned *width, unsigned *height); void x11_get_video_size(void *data, unsigned *width, unsigned *height); diff --git a/retroarch.c b/retroarch.c index 2d811eb7d5..67ccd0dcae 100644 --- a/retroarch.c +++ b/retroarch.c @@ -28069,8 +28069,6 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data) case RARCH_CTL_SET_SHUTDOWN: runloop_shutdown_initiated = true; break; - case RARCH_CTL_IS_SHUTDOWN: - return runloop_shutdown_initiated; case RARCH_CTL_CORE_OPTION_PREV: /* * Get previous value for core option specified by @idx. diff --git a/retroarch.h b/retroarch.h index e932725577..e171b46b44 100644 --- a/retroarch.h +++ b/retroarch.h @@ -142,7 +142,6 @@ enum rarch_ctl_state RARCH_CTL_SET_PAUSED, RARCH_CTL_SET_SHUTDOWN, - RARCH_CTL_IS_SHUTDOWN, /* Runloop state */ RARCH_CTL_STATE_FREE,