mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Can get rid of IS_SHUTDOWN
This commit is contained in:
parent
4aae293e3d
commit
8b43e1b4ef
@ -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);
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user