Move set_aspect_ratio to SSNES_CONSOLE.
This commit is contained in:
parent
e18a9e1001
commit
84f40dab16
|
@ -710,6 +710,6 @@ const video_driver_t video_xdk360 = {
|
|||
"xdk360",
|
||||
xdk360_set_swap_block_swap,
|
||||
xdk360_swap,
|
||||
xdk360_set_aspect_ratio,
|
||||
xdk360_set_orientation,
|
||||
xdk360_set_aspect_ratio
|
||||
};
|
||||
|
|
2
driver.h
2
driver.h
|
@ -155,9 +155,9 @@ typedef struct video_driver
|
|||
#ifdef SSNES_CONSOLE
|
||||
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.
|
||||
#endif
|
||||
void (*set_rotation)(void *data, unsigned rotation);
|
||||
void (*set_aspect_ratio)(void *data, unsigned aspectratio_idx);
|
||||
} video_driver_t;
|
||||
|
||||
typedef struct driver
|
||||
|
|
Loading…
Reference in New Issue