mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 00:35:21 +00:00
Add static start/stop/restart to console video drivers.
This commit is contained in:
parent
e4367646c4
commit
448bf2cdc8
4
driver.h
4
driver.h
@ -163,7 +163,11 @@ typedef struct video_driver
|
||||
void (*set_swap_block_state)(void *data, bool toggle); // Block swapping from being called in ::frame().
|
||||
void (*swap)(void *data); // Explicitly swap buffers. Only useful when set_swap_block_state() is set to true.
|
||||
void (*set_aspect_ratio)(void *data, unsigned aspectratio_idx); // TODO: refactor this properly to float.
|
||||
void (*start)(void);
|
||||
void (*stop)(void);
|
||||
void (*restart)(void);
|
||||
#endif
|
||||
|
||||
void (*set_rotation)(void *data, unsigned rotation);
|
||||
} video_driver_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user