mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
Add note to comment
This commit is contained in:
parent
6d71ea6529
commit
3e6fdaf3e5
28
driver.h
28
driver.h
@ -177,22 +177,24 @@ enum
|
|||||||
| DRIVER_MENU \
|
| DRIVER_MENU \
|
||||||
| DRIVERS_VIDEO_INPUT )
|
| DRIVERS_VIDEO_INPUT )
|
||||||
|
|
||||||
|
/* TODO/FIXME - comment needs to be moved to each respective driver */
|
||||||
|
|
||||||
|
/* Set this to true if the platform in question needs to 'own'
|
||||||
|
* the respective handle and therefore skip regular RetroArch
|
||||||
|
* driver teardown/reiniting procedure.
|
||||||
|
*
|
||||||
|
* If set to true, the 'free' function will get skipped. It is
|
||||||
|
* then up to the driver implementation to properly handle
|
||||||
|
* 'reiniting' inside the 'init' function and make sure it
|
||||||
|
* returns the existing handle instead of allocating and
|
||||||
|
* returning a pointer to a new handle.
|
||||||
|
*
|
||||||
|
* Typically, if a driver intends to make use of this, it should
|
||||||
|
* set this to true at the end of its 'init' function. */
|
||||||
|
|
||||||
typedef struct driver
|
typedef struct driver
|
||||||
{
|
{
|
||||||
struct retro_callbacks retro_ctx;
|
struct retro_callbacks retro_ctx;
|
||||||
|
|
||||||
/* Set this to true if the platform in question needs to 'own'
|
|
||||||
* the respective handle and therefore skip regular RetroArch
|
|
||||||
* driver teardown/reiniting procedure.
|
|
||||||
*
|
|
||||||
* If set to true, the 'free' function will get skipped. It is
|
|
||||||
* then up to the driver implementation to properly handle
|
|
||||||
* 'reiniting' inside the 'init' function and make sure it
|
|
||||||
* returns the existing handle instead of allocating and
|
|
||||||
* returning a pointer to a new handle.
|
|
||||||
*
|
|
||||||
* Typically, if a driver intends to make use of this, it should
|
|
||||||
* set this to true at the end of its 'init' function. */
|
|
||||||
} driver_t;
|
} driver_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user