mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Cleanups
This commit is contained in:
parent
88e2ab8f97
commit
79b1651b4c
7
driver.h
7
driver.h
@ -29,8 +29,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "input/input_defines.h"
|
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
#define DRIVERS_CMD_ALL \
|
#define DRIVERS_CMD_ALL \
|
||||||
@ -57,6 +55,7 @@ enum driver_ctl_state
|
|||||||
{
|
{
|
||||||
RARCH_DRIVER_CTL_NONE = 0,
|
RARCH_DRIVER_CTL_NONE = 0,
|
||||||
RARCH_DRIVER_CTL_DEINIT,
|
RARCH_DRIVER_CTL_DEINIT,
|
||||||
|
|
||||||
/* Deinitializes drivers.
|
/* Deinitializes drivers.
|
||||||
* @data is a bitmask which determines
|
* @data is a bitmask which determines
|
||||||
* which drivers get deinitialized. */
|
* which drivers get deinitialized. */
|
||||||
@ -70,21 +69,25 @@ enum driver_ctl_state
|
|||||||
RARCH_DRIVER_CTL_INIT,
|
RARCH_DRIVER_CTL_INIT,
|
||||||
|
|
||||||
RARCH_DRIVER_CTL_INIT_ALL,
|
RARCH_DRIVER_CTL_INIT_ALL,
|
||||||
|
|
||||||
/* Attempts to find a default driver for
|
/* Attempts to find a default driver for
|
||||||
* all driver types.
|
* all driver types.
|
||||||
*
|
*
|
||||||
* Should be run before RARCH_DRIVER_CTL_INIT.
|
* Should be run before RARCH_DRIVER_CTL_INIT.
|
||||||
*/
|
*/
|
||||||
RARCH_DRIVER_CTL_INIT_PRE,
|
RARCH_DRIVER_CTL_INIT_PRE,
|
||||||
|
|
||||||
/* Sets monitor refresh rate to new value by calling
|
/* Sets monitor refresh rate to new value by calling
|
||||||
* video_monitor_set_refresh_rate(). Subsequently
|
* video_monitor_set_refresh_rate(). Subsequently
|
||||||
* calls audio_monitor_set_refresh_rate(). */
|
* calls audio_monitor_set_refresh_rate(). */
|
||||||
RARCH_DRIVER_CTL_SET_REFRESH_RATE,
|
RARCH_DRIVER_CTL_SET_REFRESH_RATE,
|
||||||
|
|
||||||
/* Sets audio and video drivers to nonblock state.
|
/* Sets audio and video drivers to nonblock state.
|
||||||
*
|
*
|
||||||
* If nonblock state is false, sets blocking state for both
|
* If nonblock state is false, sets blocking state for both
|
||||||
* audio and video drivers instead. */
|
* audio and video drivers instead. */
|
||||||
RARCH_DRIVER_CTL_SET_NONBLOCK_STATE,
|
RARCH_DRIVER_CTL_SET_NONBLOCK_STATE,
|
||||||
|
|
||||||
/* Update the system Audio/Video information.
|
/* Update the system Audio/Video information.
|
||||||
* Will reinitialize audio/video drivers.
|
* Will reinitialize audio/video drivers.
|
||||||
* Used by RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO. */
|
* Used by RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user