Can get rid of IS_SHUTDOWN

This commit is contained in:
twinaphex 2020-03-06 20:32:22 +01:00
parent 4aae293e3d
commit 8b43e1b4ef
3 changed files with 1 additions and 4 deletions

View File

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

View File

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

View File

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